Update codespell config to reduce false positives

- Skip build artifacts: dist, a2ui bundle, .cache, .npm
- Skip creative writing: *.prose files
- Ignore technical terms: ANSI sequences, Windows flags, variable names
This commit is contained in:
Yaroslav Halchenko 2026-01-24 22:14:11 -05:00
parent b67bf71199
commit d782cc4156

View File

@ -1,6 +1,7 @@
[codespell]
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
skip = .git*,*.svg,package-lock.json,vendor,*-lock.yaml,*.css,.codespellrc
skip = .git*,*.svg,package-lock.json,vendor,*-lock.yaml,*.css,.codespellrc,dist,*.caf,*/a2ui/*,.cache,*.prose,.npm
check-hidden = true
# ignore-regex =
# ignore-words-list =
# Ignore camelCase and PascalCase identifiers (common in code)
ignore-regex = \b[a-z]+[A-Z]\w*\b|\b[A-Z][a-z]+[A-Z]\w*\b
ignore-words-list = inout,rouge,statics,caf,afterall,cript,fro,nd,ot,fo