Skip to content

Commit a02da9a

Browse files
committed
refactor(cspell): consolidate cspell configuration into .cspell.json and remove cspell.config.json
1 parent 21ab077 commit a02da9a

4 files changed

Lines changed: 16 additions & 28 deletions

File tree

.cspell.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,17 @@
2525
"hono",
2626
"rspack",
2727
"apos",
28-
"malformed"
28+
"malformed",
29+
"Consolas",
30+
"cspellcache",
31+
"CSSOM",
32+
"darkgrey",
33+
"eslintcache",
34+
"esmodules",
35+
"mbold",
36+
"mred",
37+
"noopener",
38+
"noreferrer"
2939
],
3040
"ignorePaths": [
3141
"CHANGELOG.md",
@@ -37,6 +47,8 @@
3747
"coverage",
3848
"*.log",
3949
"./test/fixtures/**",
40-
"./test/outputs/**"
50+
"./test/outputs/**",
51+
"client/**",
52+
"examples/*/dist/**"
4153
]
4254
}

cspell.config.json

Lines changed: 0 additions & 24 deletions
This file was deleted.

lint-staged.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
"*": [
33
"prettier --cache --write --ignore-unknown",
4-
"cspell --cache --no-must-find-files --config cspell.config.json",
4+
"cspell --cache --no-must-find-files",
55
],
66
"*.js": ["eslint --cache --fix --no-warn-ignored"],
77
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"scripts": {
3737
"lint:prettier": "prettier --cache --list-different .",
3838
"lint:code": "eslint --cache .",
39-
"lint:spelling": "cspell --cache --no-must-find-files --quiet --config cspell.config.json \"**/*.*\"",
39+
"lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
4040
"lint:types": "tsc --pretty --noEmit",
4141
"lint:types-client": "tsc -p tsconfig.client.json --pretty",
4242
"lint": "npm-run-all -l -p \"lint:**\"",

0 commit comments

Comments
 (0)