Skip to content

Commit 75a6d95

Browse files
authored
chore: add cSpell to check spelling issues (webpack-contrib#995)
1 parent a41436e commit 75a6d95

File tree

4 files changed

+1712
-69
lines changed

4 files changed

+1712
-69
lines changed

.cspell.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"version": "0.2",
3+
"language": "en,en-gb",
4+
"words": [
5+
"publicpath",
6+
"memfs",
7+
"crossorigin",
8+
"Crossorigin",
9+
"camelcase",
10+
"unreload",
11+
"cnfg",
12+
"sorhus",
13+
"sindre",
14+
"staticc",
15+
"deepc",
16+
"pathinfo",
17+
"iife",
18+
"IIFE",
19+
"fullhref",
20+
"Unexception",
21+
"fullhash",
22+
"truetype",
23+
"entrypoints",
24+
"plusplus",
25+
"hotreloading",
26+
"chunkhash",
27+
"concat",
28+
"nosources",
29+
"hspace",
30+
"vspace",
31+
"commitlint",
32+
"unreload",
33+
"cnfg"
34+
],
35+
36+
"ignorePaths": [
37+
"CHANGELOG.md",
38+
"package.json",
39+
"dist/**",
40+
"**/__snapshots__/**",
41+
"package-lock.json",
42+
"/test/js",
43+
"/test/outputs",
44+
"/test/manual/dist"
45+
]
46+
}

lint-staged.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module.exports = {
2-
"*": ["prettier --write --ignore-unknown"],
2+
"*": ["prettier --write --ignore-unknown", "cspell"],
33
"*.{js,ts}": ["eslint --cache --fix"],
44
};

0 commit comments

Comments
 (0)