project: add typos configuration

This commit is contained in:
Bruno BELANYI 2024-09-27 14:09:07 +00:00
parent 898523d079
commit d6e77b62b4

7
.typos.toml Normal file
View 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",
]