Configure spell checker to fix false positive
The identifier `leapYears` was being detected by the spell checker tool as a misspelling of "leap years". The false positive is resolved by adding `leapyears` to the ignore list in the `.codespellrc` configuration file.
This commit is contained in:
parent
1fab9d7a24
commit
7b5b65ded6
@ -1,7 +1,7 @@
|
|||||||
# See: https://github.com/codespell-project/codespell#using-a-config-file
|
# See: https://github.com/codespell-project/codespell#using-a-config-file
|
||||||
[codespell]
|
[codespell]
|
||||||
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
|
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
|
||||||
ignore-words-list = ,
|
ignore-words-list = leapyears
|
||||||
check-filenames =
|
check-filenames =
|
||||||
check-hidden =
|
check-hidden =
|
||||||
skip = ./.git
|
skip = ./.git
|
||||||
|
Loading…
Reference in New Issue
Block a user