Skip to content

Commit 25da7d7

Browse files
chore: add cSpell to check spelling issues (#194)
Co-authored-by: Nitin Kumar <[email protected]>
1 parent 694b33a commit 25da7d7

File tree

4 files changed

+1701
-72
lines changed

4 files changed

+1701
-72
lines changed

.cspell.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"version": "0.2",
3+
"language": "en,en-gb",
4+
"words": [
5+
"sampledomain",
6+
"Fdvcmxk",
7+
"Привет",
8+
"Bbase",
9+
"Rlbn",
10+
"Nvbn",
11+
"OAAOA",
12+
"SAAUA",
13+
"IAAM",
14+
"IAAI",
15+
"CAAC",
16+
"normilized",
17+
"memfs",
18+
"commitlint",
19+
"Koppers",
20+
"sokra",
21+
"soley",
22+
"Bpercent"
23+
],
24+
25+
"ignorePaths": [
26+
"CHANGELOG.md",
27+
"package.json",
28+
"dist/**",
29+
"**/__snapshots__/**",
30+
"package-lock.json",
31+
"test/fixtures/file-protocol-path.js",
32+
"test/fixtures/absolute-path.js"
33+
]
34+
}

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-
"*.js": ["eslint --fix", "prettier --write"],
2+
"*.js": ["eslint --fix", "prettier --write", "cspell"],
33
"*.{json,md,yml,css,ts}": ["prettier --write"],
44
};

0 commit comments

Comments
 (0)