# 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 #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 #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]$", ]