Skip to content

Commit 2ff00ae

Browse files
authored
Fix spell check false positive by ignoring word (arduino#497)
In the latest release of the codespell tool used for automated spell checking of the files of this project, the word "clen" was added to the codespell misspelled words dictionary as a misspelling of "clean". This caused a false detection of a struct member name `clen` as a misspelling, resulting in a failing spell check result. Since the occurrence of this name is correct and intended in this project, the false positive is resolved by configuring codespell to ignore the problematic word.
1 parent 3cd6c80 commit 2ff00ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.codespellrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# See: https://github.com/codespell-project/codespell#using-a-config-file
22
[codespell]
33
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
4-
ignore-words-list = hart,pullrequest
4+
ignore-words-list = clen,hart,pullrequest
55
builtin = clear
66
check-filenames =
77
check-hidden =

0 commit comments

Comments
 (0)