Skip to content

Commit 9aba617

Browse files
committed
Exclude go.mod/go.sum files from repo's spell check task recursively
The repository has a spell check as part of its infrastructure to catch typos before they can be introduced to the content. This check should not be done on generated files like `go.mod` and `go.sum`. The codespell spell check tool was already configured to skip those files in the root of the repository, but there is another module in `./docsgen`, and its module configuration files must also be excluded from the check.
1 parent 0706d87 commit 9aba617

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
@@ -6,4 +6,4 @@ ignore-words-list = ot,propert
66
builtin = clear,informal,en-GB_to_en-US
77
check-filenames =
88
check-hidden =
9-
skip = ./.git,./go.mod,./go.sum,./package-lock.json,./poetry.lock,./yarn.lock,./arduino-lint,./arduino-lint.exe,./internal/rule/rulefunction/testdata/libraries/MisspelledSentenceParagraphValue/library.properties,./site
9+
skip = ./.git,**/go.mod,**/go.sum,./package-lock.json,./poetry.lock,./yarn.lock,./arduino-lint,./arduino-lint.exe,./internal/rule/rulefunction/testdata/libraries/MisspelledSentenceParagraphValue/library.properties,./site

0 commit comments

Comments
 (0)