project: add typos configuration
This commit is contained in:
parent
898523d079
commit
d6e77b62b4
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…
Reference in a new issue