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:
Nils
2025-09-14 08:20:51 +02:00
committed by GitHub
parent 99d989d486
commit 69a76e32b7
2 changed files with 25 additions and 0 deletions

20
.typos.toml Normal file
View 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"