project: add typos configuration
This commit is contained in:
parent
898523d079
commit
d6e77b62b4
1 changed files with 7 additions and 0 deletions
7
.typos.toml
Normal file
7
.typos.toml
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
[default]
|
||||||
|
extend-ignore-re = [
|
||||||
|
# spellchecker:disable-line
|
||||||
|
"(?Rm)^.*(#|//|--)\\s*spellchecker:disable-line$",
|
||||||
|
# spellchecker:<on|off>
|
||||||
|
"(?s)(#|//|--)\\s*spellchecker:off.*?\\n\\s*(#|//|--)\\s*spellchecker:on",
|
||||||
|
]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue