mirror of
https://github.com/nushell/nushell.git
synced 2024-11-28 19:33:47 +01: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!!
28 lines
482 B
TOML
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"
|