Hi! Thanks for this nice tool.
Is there a way to ignore a word that appears in a file name, when --check-filenames is enabled?
I know that I can use the ignore-words-list = edn option, but I'd prefer to only ignore the edn word only for file names.
I think I'm looking for the equivalent of an inline ignore comment for file names.
For example, I'd like to ignore a false positive of a file with the edn extension:
$ codespell --config .codespellrc .
./TEMPLATES/.clj-kondo/config.edn: edn ==> end
Where .codespellrc is:
[codespell]
check-filenames =
check-hidden =
Thanks!
Hi! Thanks for this nice tool.
Is there a way to ignore a word that appears in a file name, when
--check-filenamesis enabled?I know that I can use the
ignore-words-list = ednoption, but I'd prefer to only ignore theednword only for file names.I think I'm looking for the equivalent of an inline ignore comment for file names.
For example, I'd like to ignore a false positive of a file with the
ednextension:Where
.codespellrcis:Thanks!