Skip to content

Commit 2c4d615

Browse files
committed
Sync codespell configuration file with standardized asset
A standardized configuration file is now maintained for use with the codespell spell checker tool in Arduino tooling projects. This file contains the base configuration that is applicable to any project, upon which project-specific configuration may be added. Previously, the machine generated file package-lock.json was being spell checked, which resulted in a false positive. Since even a true positive could not be resolved by editing that file, the solution is to ignore the file entirely, as is already provided by the standardized configuration.
1 parent fab2ac3 commit 2c4d615

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: .codespellrc

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/spell-check/.codespellrc
2+
# See: https://github.com/codespell-project/codespell#using-a-config-file
13
[codespell]
2-
# In the event of a false positive, add the problematic word, in all lowercase, here:
4+
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
35
ignore-words-list = afterall
6+
skip = ./.git,./.licenses,./dist,__pycache__,node_modules,./go.mod,./go.sum,./package-lock.json,./poetry.lock,./yarn.lock
7+
builtin = clear,informal,en-GB_to_en-US
48
check-filenames =
59
check-hidden =
6-
skip = ./.git,./dist

0 commit comments

Comments
 (0)