Skip to content

Commit b6ba3e2

Browse files
committed
Add check-spelling/check-spelling
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
1 parent 24388fd commit b6ba3e2

File tree

8 files changed

+4041
-0
lines changed

8 files changed

+4041
-0
lines changed

.github/actions/spelling/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# check-spelling/check-spelling configuration
2+
3+
File | Purpose | Format | Info
4+
-|-|-|-
5+
[dictionary.txt](dictionary.txt) | Replacement dictionary (creating this file will override the default dictionary) | one word per line | [dictionary](https://github.com/check-spelling/check-spelling/wiki/Configuration#dictionary)
6+
[allow.txt](allow.txt) | Add words to the dictionary | one word per line (only letters and `'`s allowed) | [allow](https://github.com/check-spelling/check-spelling/wiki/Configuration#allow)
7+
[reject.txt](reject.txt) | Remove words from the dictionary (after allow) | grep pattern matching whole dictionary words | [reject](https://github.com/check-spelling/check-spelling/wiki/Configuration#reject)
8+
[excludes.txt](excludes.txt) | Files to ignore entirely | perl regular expression | [excludes](https://github.com/check-spelling/check-spelling/wiki/Configuration#excludes)
9+
[only.txt](only.txt) | Only check matching files (applied after excludes) | perl regular expression | [only](https://github.com/check-spelling/check-spelling/wiki/Configuration#only)
10+
[patterns.txt](patterns.txt) | Patterns to ignore from checked lines | perl regular expression (order matters, first match wins) | [patterns](https://github.com/check-spelling/check-spelling/wiki/Configuration#patterns)
11+
[expect.txt](expect.txt) | Expected words that aren't in the dictionary | one word per line (sorted, alphabetically) | [expect](https://github.com/check-spelling/check-spelling/wiki/Configuration#expect)
12+
[advice.txt](advice.txt) | Supplement for GitHub comment when unrecognized words are found | GitHub Markdown | [advice](https://github.com/check-spelling/check-spelling/wiki/Configuration#advice)
13+
14+
Note: you can replace any of these files with a directory by the same name (minus the suffix)
15+
and then include multiple files inside that directory (with that suffix) to merge multiple files together.

.github/actions/spelling/advice.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice -->

.github/actions/spelling/allow.txt

Whitespace-only changes.

.github/actions/spelling/excludes.txt

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-excludes
2+
(?:^|/)(?i)COPYRIGHT
3+
(?:^|/)(?i)LICEN[CS]E
4+
(?:^|/)package(?:-lock)\.json$
5+
(?:^|/)vendor/
6+
/CREDITS$
7+
/tests/
8+
build/
9+
ignore$
10+
\.BINS$
11+
\.bmp$
12+
\.bz2$
13+
\.cdb$
14+
\.cfg$
15+
\.crt$
16+
\.csr$
17+
\.data$
18+
\.dict$
19+
\.dll$
20+
\.editorconfig$
21+
\.eml$
22+
\.exe$
23+
\.gcov$
24+
\.gd$
25+
\.gd2$
26+
\.gdbinit$
27+
\.gif$
28+
\.gitattributes$
29+
\.gitignore$
30+
\.global$
31+
\.gz$
32+
\.ico$
33+
\.iff$
34+
\.INTERNALS$
35+
\.jp2$
36+
\.jpc$
37+
\.jpeg$
38+
\.JPG$
39+
\.jpg$
40+
\.key$
41+
\.lock$
42+
\.magic$
43+
\.min\.
44+
\.mo$
45+
\.mod$
46+
\.mov$
47+
\.mp3$
48+
\.odt$
49+
\.otf$
50+
\.p12$
51+
\.p7b$
52+
\.p7s$
53+
\.patch$
54+
\.pdf$
55+
\.pem$
56+
\.pfx$
57+
\.phar$
58+
\.pharignore$
59+
\.png$
60+
\.po$
61+
\.ppt$
62+
\.psd$
63+
\.pubkey$
64+
\.pwl$
65+
\.res$
66+
\.rng$
67+
\.swf$
68+
\.sym$
69+
\.tar$
70+
\.tcfg$
71+
\.tga$
72+
\.tgz$
73+
\.tiff$
74+
\.ttf$
75+
\.w32$
76+
\.wbmp$
77+
\.webm$
78+
\.webp$
79+
\.xbm$
80+
\.xls$
81+
\.xml$
82+
\.xpm$
83+
\.zip$
84+
^azure/apt\.yml$
85+
^azure/configure\.yml$
86+
^azure/i386/apt\.yml$
87+
^azure/macos/brew\.yml$
88+
^ext/
89+
^sapi/cli/mime_type_map\.h$
90+
^sapi/fuzzer/corpus/json/14\.json$
91+
^sapi/fuzzer/corpus/json/2\.json$
92+
^sapi/fuzzer/corpus/json/4\.json$
93+
^sapi/fuzzer/Makefile\.frag$
94+
^tests/strings/001\.phpt$
95+
^travis/compile\.sh$
96+
^win32/build/libs_version\.txt$
97+
^win32/cp_enc_map
98+
^win32/unistd\.h$
99+
^\.github/

0 commit comments

Comments
 (0)