1
Fork 0
kantodb/cargo-spellcheck.toml

24 lines
865 B
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# TODO this is too painful with commented-out code, but commented-out code is a code smell of its own
#dev_comments = true
[Hunspell]
# TODO setting config overrides defaults <https://github.com/drahnr/cargo-spellcheck/issues/293#issuecomment-2397728638> #ecosystem/cargo-spellcheck #dev #severity/low
use_builtin = true
# Use built-in dictionary only, for reproducibility.
skip_os_lookups = true
search_dirs = ["."]
extra_dictionaries = ["hunspell.dict"]
# TODO "C++" is tokenized wrong <https://github.com/drahnr/cargo-spellcheck/issues/272> #ecosystem/cargo-spellcheck #dev #severity/low
tokenization_splitchars = "\",;:!?#(){}[]|/_-+='`&@§¶…"
[Hunspell.quirks]
transform_regex = [
# 2025Q1 style references to dates.
"^(20\\d\\d)Q([1234])$",
# version numbers; tokenization splits off everything at the dot so be conservative
"^v[012]$",
]