Skip to content

Commit ac0a2b3

Browse files
author
Maciej Makowski
committed
fix: added excludes
1 parent 570a2e0 commit ac0a2b3

File tree

2 files changed

+92
-2
lines changed

2 files changed

+92
-2
lines changed
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-excludes
2+
(?:^|/)(?i)COPYRIGHT
3+
(?:^|/)(?i)LICEN[CS]E
4+
(?:^|/)3rdparty/
5+
(?:^|/)go\.sum$
6+
(?:^|/)package(?:-lock|)\.json$
7+
(?:^|/)Pipfile$
8+
(?:^|/)pyproject.toml
9+
(?:^|/)requirements(?:-dev|-doc|-test|)\.txt$
10+
(?:^|/)vendor/
11+
ignore$
12+
\.a$
13+
\.ai$
14+
\.all-contributorsrc$
15+
\.avi$
16+
\.bmp$
17+
\.bz2$
18+
\.cer$
19+
\.class$
20+
\.coveragerc$
21+
\.crl$
22+
\.crt$
23+
\.csr$
24+
\.dll$
25+
\.docx?$
26+
\.drawio$
27+
\.DS_Store$
28+
\.eot$
29+
\.eps$
30+
\.exe$
31+
\.gif$
32+
\.git-blame-ignore-revs$
33+
\.gitattributes$
34+
\.gitkeep$
35+
\.graffle$
36+
\.gz$
37+
\.icns$
38+
\.ico$
39+
\.ipynb$
40+
\.jar$
41+
\.jks$
42+
\.jpe?g$
43+
\.key$
44+
\.lib$
45+
\.lock$
46+
\.map$
47+
\.min\..
48+
\.mo$
49+
\.mod$
50+
\.mp[34]$
51+
\.o$
52+
\.ocf$
53+
\.otf$
54+
\.p12$
55+
\.parquet$
56+
\.pdf$
57+
\.pem$
58+
\.pfx$
59+
\.png$
60+
\.psd$
61+
\.pyc$
62+
\.pylintrc$
63+
\.qm$
64+
\.s$
65+
\.sig$
66+
\.so$
67+
\.svgz?$
68+
\.sys$
69+
\.tar$
70+
\.tgz$
71+
\.tiff?$
72+
\.ttf$
73+
\.wav$
74+
\.webm$
75+
\.webp$
76+
\.woff2?$
77+
\.xcf$
78+
\.xlsx?$
79+
\.xpm$
80+
\.xz$
81+
\.zip$
82+
^\.github/actions/spelling/
83+
^\Q.github/workflows/spelling.yml\E$

.github/workflows/spelling.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@ jobs:
9696
with:
9797
suppress_push_for_open_pull_request: ${{ github.actor != 'dependabot[bot]' && 1 }}
9898
checkout: true
99-
check_file_names: 0
99+
check_file_names: 1
100100
spell_check_this: check-spelling/spell-check-this@prerelease
101101
post_comment: 0
102102
use_magic_file: 1
103103
report-timing: 1
104104
warnings: bad-regex,binary-file,deprecated-feature,large-file,limited-references,no-newline-at-eof,noisy-file,non-alpha-in-dictionary,token-is-substring,unexpected-line-ending,whitespace-in-dictionary,minified-file,unsupported-configuration,no-files-to-check
105105
experimental_apply_changes_via_bot: 1
106106
use_sarif: ${{ (!github.event.pull_request || (github.event.pull_request.head.repo.full_name == github.repository)) && 1 }}
107-
extra_dictionary_limit: 20
107+
extra_dictionary_limit: 30
108108
extra_dictionaries:
109109
cspell:software-terms/dict/softwareTerms.txt
110110
cspell:filetypes/filetypes.txt
@@ -127,6 +127,13 @@ jobs:
127127
cspell:python/src/python/python.txt
128128
cspell:r/src/r.txt
129129
cspell:cpp/src/lang-keywords.txt
130+
cspell:cpp/src/compiler-clang-attributes.txt
131+
cspell:cryptocurrencies/cryptocurrencies.txt
132+
cspell:cpp/src/ecosystem.txt
133+
cspell:ruby/dict/ruby.txt
134+
cspell:css/dict/css.txt
135+
cspell:cpp/src/stdlib-c.txt
136+
cspell:swift/src/swift.txt
130137

131138
comment-push:
132139
name: Report (Push)

0 commit comments

Comments
 (0)