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