nushell/typos.toml
Viktor Szépe 8eefb7313e
Minimize future false positive typos (#12751)
# Description

Make typos config more strict: ignore false positives where they occur.

1. Ignore only files with typos
2. Add regexp-s with context
3. Ignore variable names only in Rust code
4. Ignore only 1 "identifier"
5. Check dot files

🎁 Extra bonus: fix typos!!
2024-05-04 15:00:44 +00:00

28 lines
482 B
TOML

[files]
extend-exclude = [
".git/",
"crates/nu-cmd-extra/assets/228_themes.json",
"tests/fixtures/formats/",
]
ignore-hidden = false
[default]
extend-ignore-re = [
"Plasticos Rival",
"│ in_custom_valu │",
"│ ine │",
":es\\|ful\\(",
"\\\\u\\{e7ba\\}",
"([0-9a-f][0-9a-f] ){4}",
"--find ba\\b",
"0x\\[ba be\\]",
"\\)BaR'",
]
[type.rust.extend-words]
nd = "nd"
numer = "numer"
[default.extend-identifiers]
ratatui = "ratatui"