Skip to content

Commit 304e511

Browse files
committed
fix: exclude all code files from spell checker
Spell checking JSON, JS, and TS files flags normal code identifiers (url, mkdir, tsc, dirname, etc.) as misspellings. Only check prose.
1 parent 72c20f5 commit 304e511

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/actions/spell-check/excludes.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ yarn-1.19.0.js$
2121
(?:^|/)lib/
2222
(?:^|/)__snapshots__/
2323
(?:^|/)native/
24-
^package-lock\.json$
24+
\.json$
25+
\.js$
26+
\.ts$
27+
(?:^|/)scripts/
2528
^\.github/workflows/
2629
^\.npmignore$
2730
^LICENSE$

0 commit comments

Comments
 (0)