use typos to check typos
This commit is contained in:
parent
8d9f566ce6
commit
f3de1c79e4
7 changed files with 44 additions and 22 deletions
21
.typos.toml
Normal file
21
.typos.toml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[files]
|
||||
ignore-global = true
|
||||
ignore-parent = true
|
||||
ignore-hidden = false
|
||||
ignore-files = true
|
||||
ignore-vcs = true
|
||||
extend-exclude = ["secrets/", ".git/", "public-key.txt"]
|
||||
|
||||
[default]
|
||||
check-filename = true
|
||||
check-file = true
|
||||
unicode = true
|
||||
extend-ignore-re = [
|
||||
# Line ignore with trailling `(#|//) spellchecker: disable-line`
|
||||
"(?Rm)^.*(#|//)\\s*spellchecker: disable-line$",
|
||||
# Line block with `# spellchecker: <on|off>`
|
||||
"(?s)(#|//)\\s*spellchecker: off.*?\\n\\s*(#|//)\\s*spellchecker: on",
|
||||
]
|
||||
extend-ignore-identifiers-re = ["als", "Paket", "ConfiguratioN", "StructurE"]
|
||||
|
||||
[default.extend-identifiers]
|
||||
Loading…
Add table
Add a link
Reference in a new issue