codespell: ignore words
• 64 words • 1 min • updated
⚠️ This post is over one year old. It may no longer be up to date or relevant. Opinions may have changed.
When using codespell to spell check a git repository, sometimes you may run into false positive words.
There are two ways to whitelist them.
The first one is via command-line arguments:
shell
codespell -L=ist -L=regioor
shell
codespell -L=ist,regioThe second one is with a dedicated .ignore-words.txt file:
shell
% cat .ignore-words.txt
# keep-sorted start
ist
regio
# keep-sorted end
% codespell -I .ignore-words.txt∎
Connections
Shared tags