Skip to content

Commit

Permalink
Narrow down typos ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Feb 26, 2024
1 parent 5346002 commit 1880117
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
[default.extend-identifiers]
AnserStyle = "AnserStyle"
datas = "datas"
impl_froms = "impl_froms"
selfs = "selfs"
[files]
extend-exclude = [
"*.rast",
"bench_data/",
"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]
anser = "anser"
ba = "ba"
fo = "fo"
ket = "ket"
makro = "makro"
raison = "raison"
trivias = "trivias"
TOOD = "TOOD"

[default]
extend-ignore-re = [
# ignore string which contains $x (x is a num), which use widely in test
".*\\$\\d.*",
# 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/*",
]
[default.extend-identifiers]
datas = "datas"
impl_froms = "impl_froms"
selfs = "selfs"

0 comments on commit 1880117

Please sign in to comment.