Skip to content

Commit 1189276

Browse files
authored
Fix spell check false positive by ignoring word
The codespell spellchecker tool is used to automatically detect commonly misspelled words in the files of this project. One of the identifiers "nextED" used in the codebase happens to match against the misspelled word dictionary entry for "nested", which causes codespell to produce a false misspelled word detection. Since the code that produced the detection is correct and intended, the false positive is resolved by configuring codespell to ignore the problematic word.
1 parent 498d7ec commit 1189276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.codespellrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See: https://github.com/codespell-project/codespell#using-a-config-file
33
[codespell]
44
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
5-
ignore-words-list = freeed,unstall,
5+
ignore-words-list = freeed,nexted,unstall,
66
skip = ./.git,./.licenses,__pycache__,node_modules,./go.mod,./go.sum,./package-lock.json,./poetry.lock,./yarn.lock
77
builtin = clear,informal,en-GB_to_en-US
88
check-filenames =

0 commit comments

Comments
 (0)