mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-28 21:05:13 +00:00
Auto merge of #16673 - szepeviktor:patch-1, r=lnicola
Narrow down typos ignores - remove ignored files - check dotfiles - reorder config sections: files, regexp, words, IDs - remove non-existent ignores
This commit is contained in:
commit
2251d06200
1 changed files with 22 additions and 22 deletions
44
.typos.toml
44
.typos.toml
|
@ -1,8 +1,21 @@
|
||||||
[default.extend-identifiers]
|
[files]
|
||||||
AnserStyle = "AnserStyle"
|
extend-exclude = [
|
||||||
datas = "datas"
|
"*.rast",
|
||||||
impl_froms = "impl_froms"
|
"bench_data/",
|
||||||
selfs = "selfs"
|
"crates/parser/test_data/lexer/err/",
|
||||||
|
"crates/project-model/test_data/",
|
||||||
|
]
|
||||||
|
ignore-hidden = false
|
||||||
|
|
||||||
|
[default]
|
||||||
|
extend-ignore-re = [
|
||||||
|
# ignore string which contains $0, which is used widely in tests
|
||||||
|
".*\\$0.*",
|
||||||
|
# ignore generated content like `boxed....nner()`, `Defaul...efault`
|
||||||
|
"\\w*\\.{3,4}\\w*",
|
||||||
|
'"flate2"',
|
||||||
|
"raison d'être",
|
||||||
|
]
|
||||||
|
|
||||||
[default.extend-words]
|
[default.extend-words]
|
||||||
anser = "anser"
|
anser = "anser"
|
||||||
|
@ -10,22 +23,9 @@ ba = "ba"
|
||||||
fo = "fo"
|
fo = "fo"
|
||||||
ket = "ket"
|
ket = "ket"
|
||||||
makro = "makro"
|
makro = "makro"
|
||||||
raison = "raison"
|
|
||||||
trivias = "trivias"
|
trivias = "trivias"
|
||||||
TOOD = "TOOD"
|
|
||||||
|
|
||||||
[default]
|
[default.extend-identifiers]
|
||||||
extend-ignore-re = [
|
datas = "datas"
|
||||||
# ignore string which contains $x (x is a num), which use widely in test
|
impl_froms = "impl_froms"
|
||||||
".*\\$\\d.*",
|
selfs = "selfs"
|
||||||
# ignore generated content like `boxed....nner()`, `Defaul...efault`
|
|
||||||
"\\w*\\.{3,4}\\w*",
|
|
||||||
]
|
|
||||||
|
|
||||||
[files]
|
|
||||||
extend-exclude = [
|
|
||||||
"*.json",
|
|
||||||
"*.rast",
|
|
||||||
"crates/parser/test_data/lexer/err/*",
|
|
||||||
"bench_data/*",
|
|
||||||
]
|
|
||||||
|
|
Loading…
Reference in a new issue