chore: update cspell
This commit is contained in:
parent
fc028be4da
commit
9333c3eb4b
|
@ -1,7 +1,5 @@
|
|||
name: Test
|
||||
|
||||
# cspell:word eslintcache
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
@ -29,8 +27,13 @@ jobs:
|
|||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: .eslintcache
|
||||
key: lint-${{ env.GITHUB_SHA }}
|
||||
restore-keys: lint-
|
||||
key: lint-eslint-${{ runner.os }}-node-${{ hashFiles('**/yarn.lock', '**/.eslintrc.js') }}
|
||||
restore-keys: lint-eslint-
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: .cspellcache
|
||||
key: lint-cspell-${{ runner.os }}-node-${{ hashFiles('**/yarn.lock', '**/cspell.json') }}
|
||||
restore-keys: lint-cspell-
|
||||
- run: yarn lint
|
||||
basic:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -19,4 +19,5 @@
|
|||
.vscode
|
||||
.cache
|
||||
.eslintcache
|
||||
.cspellcache
|
||||
package-lock.json
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
"concated",
|
||||
"contenthash",
|
||||
"contextifies",
|
||||
"cspellcache",
|
||||
"crossorigin",
|
||||
"csvg",
|
||||
"cujojs",
|
||||
|
@ -70,6 +71,7 @@
|
|||
"devtool",
|
||||
"devtools",
|
||||
"donotcallme",
|
||||
"eslintcache",
|
||||
"endregion",
|
||||
"entrypoint",
|
||||
"entrypoints",
|
||||
|
@ -299,6 +301,7 @@
|
|||
],
|
||||
"ignorePaths": [
|
||||
"**/dist/**",
|
||||
"**/node_modules/**",
|
||||
"examples/**/README.md",
|
||||
"examples/wasm-bindgen*/pkg/*_bg.js",
|
||||
"examples/wasm-bindgen*/pkg/*_bg*.d.ts",
|
||||
|
|
10
package.json
10
package.json
|
@ -50,7 +50,7 @@
|
|||
"coffeescript": "^2.5.1",
|
||||
"core-js": "^3.6.5",
|
||||
"coveralls": "^3.1.0",
|
||||
"cspell": "^6.31.1",
|
||||
"cspell": "^8.6.0",
|
||||
"css-loader": "^5.0.1",
|
||||
"date-fns": "^3.2.0",
|
||||
"es5-ext": "^0.10.53",
|
||||
|
@ -155,7 +155,7 @@
|
|||
"type-lint": "tsc",
|
||||
"typings-test": "tsc -p tsconfig.types.test.json",
|
||||
"module-typings-test": "tsc -p tsconfig.module.test.json",
|
||||
"spellcheck": "cspell --no-progress \"**\"",
|
||||
"spellcheck": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
|
||||
"special-lint": "node node_modules/tooling/lockfile-lint && node node_modules/tooling/schemas-lint && node node_modules/tooling/inherit-types && node node_modules/tooling/format-schemas && node tooling/generate-runtime-code.js && node tooling/generate-wasm-code.js && node node_modules/tooling/format-file-header && node node_modules/tooling/compile-to-definitions && node node_modules/tooling/precompile-schemas && node node_modules/tooling/generate-types --no-template-literals",
|
||||
"special-lint-fix": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-schemas --write && node tooling/generate-runtime-code.js --write && node tooling/generate-wasm-code.js --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/compile-to-definitions --write && node node_modules/tooling/precompile-schemas --write && node node_modules/tooling/generate-types --no-template-literals --write",
|
||||
"fix": "yarn code-lint --fix && yarn special-lint-fix && yarn pretty-lint-fix",
|
||||
|
@ -183,10 +183,8 @@
|
|||
"eslint --cache --fix"
|
||||
],
|
||||
"*": [
|
||||
"prettier --cache --ignore-unknown"
|
||||
],
|
||||
"*.md|{.github,benchmark,bin,examples,hot,lib,schemas,setup,tooling}/**/*.{md,yml,yaml,js,json}": [
|
||||
"cspell"
|
||||
"prettier --cache --write --ignore-unknown",
|
||||
"cspell --cache --no-must-find-files"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue