Skip to content

Commit 565eee6

Browse files
Expand cSpell coverage to more file types (#42757)
1 parent c60c9ad commit 565eee6

4 files changed

Lines changed: 78 additions & 4 deletions

File tree

.cspell.json

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,44 @@
44
"affordance",
55
"allowfullscreen",
66
"Analyser",
7+
"autobuild",
78
"autofilled",
89
"autohide",
910
"autohiding",
11+
"Autoprefixer",
1012
"autoplay",
1113
"autoplays",
1214
"autoplaying",
15+
"Beckwith",
1316
"blazingly",
1417
"Blockquotes",
1518
"Bootstrappers",
1619
"borderless",
1720
"Brotli",
1821
"browserslist",
1922
"browserslistrc",
23+
"bsversion",
2024
"btncheck",
2125
"btnradio",
26+
"bundlewatch",
27+
"Bytesize",
28+
"calibreapp",
2229
"callout",
2330
"callouts",
2431
"camelCase",
32+
"cheatsheet",
2533
"checkgroup",
2634
"clearfix",
2735
"Codesniffer",
2836
"combinator",
37+
"contenteditable",
2938
"Contentful",
39+
"cooldown",
40+
"coverallsapp",
3041
"Cpath",
42+
"Croll",
3143
"Crossfade",
44+
"crossfades",
3245
"crossfading",
3346
"cssgrid",
3447
"csstricks",
@@ -37,37 +50,64 @@
3750
"Datalists",
3851
"Datepicker",
3952
"Deque",
53+
"describedby",
54+
"dialogbase",
4055
"discoverability",
4156
"docsref",
57+
"DOMCONTENT",
58+
"Dripicons",
4259
"dropend",
4360
"dropstart",
4461
"dropup",
4562
"dgst",
4663
"errorf",
64+
"esproj",
4765
"favicon",
4866
"favicons",
4967
"fieldsets",
5068
"flexbox",
69+
"focusables",
5170
"focustrap",
5271
"Fpath",
5372
"frontmatter",
5473
"fullscreen",
74+
"fusv",
75+
"gesturechange",
76+
"gestureend",
77+
"gesturestart",
5578
"getbootstrap",
5679
"Grayscale",
80+
"haspopup",
5781
"Hoverable",
5882
"hreflang",
5983
"hstack",
84+
"icofont",
6085
"importmap",
86+
"inputmode",
87+
"Ionicons",
88+
"itemtype",
89+
"ITUSEYJG",
6190
"jsdelivr",
91+
"Jumbotrons",
6292
"Jumpstart",
6393
"keyframes",
6494
"keyline",
95+
"Keyshortcut",
96+
"keyshortcuts",
97+
"komodoproject",
98+
"Komodo",
99+
"komodotools",
100+
"labelledby",
65101
"libera",
66102
"libman",
67103
"Libsass",
68104
"lightboxes",
105+
"lightningcss",
106+
"linkinator",
107+
"longdesc",
69108
"Lowercased",
70109
"markdownify",
110+
"maxlength",
71111
"mediaqueries",
72112
"minifiers",
73113
"misfunction",
@@ -77,46 +117,68 @@
77117
"navbars",
78118
"navs",
79119
"navoverflow",
120+
"nbproject",
80121
"negativify",
122+
"networkidle",
81123
"Neue",
124+
"nextjs",
82125
"noindex",
83126
"nonmodal",
127+
"nvmrc",
84128
"oklab",
85129
"oklch",
86130
"Noto",
87131
"drawer",
88132
"offcanvas",
89133
"offcanvases",
134+
"opencollective",
135+
"ossf",
90136
"Packagist",
137+
"Pagefind",
91138
"popperjs",
92139
"prebuild",
93140
"prefersreducedmotion",
94141
"prepended",
95142
"printf",
143+
"recents",
96144
"rects",
97145
"relref",
98146
"rgba",
99147
"roboto",
148+
"robotstxt",
149+
"rollup",
150+
"rubygem",
100151
"ruleset",
152+
"sarif",
101153
"sassrc",
102154
"screenreaders",
103155
"scrollbars",
104156
"scrollspy",
105157
"Segoe",
158+
"selectend",
106159
"semibold",
160+
"shiki",
161+
"shikijs",
162+
"slugified",
107163
"socio",
108164
"srcset",
109165
"stackblitz",
110166
"stickied",
111167
"Stylelint",
168+
"stylelintcache",
112169
"subnav",
170+
"subresult",
171+
"subresults",
172+
"Tabler",
113173
"tabbable",
114174
"textareas",
175+
"tmproj",
115176
"toggleable",
116177
"topbar",
117178
"touchend",
118179
"twbs",
119180
"unitless",
181+
"Unported",
120182
"unstylable",
121183
"unstyled",
122184
"Uppercased",
@@ -128,14 +190,24 @@
128190
"vstack",
129191
"walkthroughs",
130192
"WCAG",
193+
"webp",
194+
"worktrees",
195+
"xlink",
131196
"zindex"
132197
],
133198
"language": "en-US",
199+
"ignoreRegExpList": [
200+
"\\\\u001[Bb]\\[[0-9;]*m"
201+
],
134202
"ignorePaths": [
135203
".cspell.json",
204+
".vscode/",
136205
"dist/",
206+
"js/dist/",
207+
"js/coverage/",
137208
"*.min.*",
138-
"**/tests/**"
209+
"**/tests/**",
210+
"package-lock.json"
139211
],
140212
"useGitignore": true
141213
}

.github/workflows/cspell.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
uses: streetsidesoftware/cspell-action@de2a73e963e7443969755b648a1008f77033c5b2 # v8.4.0
3333
with:
3434
config: ".cspell.json"
35-
files: "**/*.{md,mdx}"
35+
files: |
36+
.gitignore
37+
**/*.{md,mdx,yml,yaml,json,js,cjs,mjs,ts}
3638
inline: error
3739
incremental_files_only: false

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const localRules = {
105105
'unicorn/prefer-string-replace-all': 'off',
106106
'unicorn/prefer-structured-clone': 'off',
107107
'unicorn/prevent-abbreviations': 'off',
108-
// Rules new/changed in ESLint 10 / updated plugins — disable to preserve old behaviour
108+
// Rules new/changed in ESLint 10 / updated plugins — disable to preserve old behavior
109109
'xo/import-specifier-newline': 'off',
110110
'@eslint-community/eslint-comments/require-description': 'off',
111111
'import-x/no-anonymous-default-export': 'off',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
"astro-dev": "astro dev --root site --port ${PORT:-9001}",
117117
"astro-build": "astro build --root site && rm -rf _site && cp -r site/dist _site && pagefind --site _site",
118118
"astro-preview": "astro preview --root site --port 9001",
119-
"spellcheck": "cspell --config .cspell.json \"**/*.{md,mdx}\""
119+
"spellcheck": "cspell --config .cspell.json \".gitignore\" \"**/*.{md,mdx,yml,yaml,json,js,cjs,mjs,ts}\""
120120
},
121121
"peerDependencies": {
122122
"@floating-ui/dom": "^1.7.6",

0 commit comments

Comments
 (0)