chore(pre-commit): add typos with conservative excludes; no content changes (#1317)
Co-authored-by: Gideon <87426140+GideonBear@users.noreply.github.com> Co-authored-by: niStee <52573120+niStee@users.noreply.github.comclear>
This commit is contained in:
20
.typos.toml
Normal file
20
.typos.toml
Normal file
@@ -0,0 +1,20 @@
|
||||
# Typos configuration (minimal, conservative)
|
||||
# Exclude locales and OS fingerprint data to avoid false positives
|
||||
# - Recognize a few project-specific proper nouns
|
||||
|
||||
[files]
|
||||
extend-exclude = [
|
||||
"src/steps/os/os_release/**",
|
||||
"locales/**",
|
||||
# Include only English locale files - TODO: Split locales/app.yml into a Separate english File
|
||||
# "!locales/en/**"
|
||||
]
|
||||
|
||||
[default]
|
||||
# Mark specific words as always valid by mapping them to themselves
|
||||
check-file = true
|
||||
check-filename = true
|
||||
|
||||
[default.extend-words]
|
||||
# Add project-specific terms that should not be flagged as typos
|
||||
# Example: topgrade = "topgrade"
|
||||
Reference in New Issue
Block a user