mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
8eefb7313e
# 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!!
27 lines
482 B
TOML
27 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"
|