Update cSpell config (#12154)

This commit is contained in:
fisker Cheung authored and GitHub committed 2022-01-27 15:03:49 +08:00
1 parent 23dea6c0bb
commit 7e73f1cf0d
3 files changed
+5 -9

No files matched your search

+2 -6
View File
@@ -370,8 +370,6 @@
],
"files": [
"*",
".*",
".github/**/*",
"bin/**/*",
"changelog_unreleased/**/*",
"docs/**/*",
@@ -381,14 +379,12 @@
"website/**/*",
"tests/config/**/*",
"tests/integration/**/*",
"tests/**/jsfmt.spec.js"
"tests/format/**/jsfmt.spec.js"
],
"ignorePaths": [
".git",
"cspell.json",
"**/node_modules/**",
"**/yarn.lock",
"*.{log,svg,snap,png}",
"test*.*",
"website/data/users.yml",
"website/build/**",
"website/playground/codeSamples.js",
+1 -1
View File
@@ -151,7 +151,7 @@
"lint:changelog": "node ./scripts/lint-changelog.mjs",
"lint:prettier": "prettier . \"!test*\" --check",
"lint:dist": "eslint --no-eslintrc --no-ignore --no-inline-config --config=./scripts/bundle-eslint-config.js \"dist/!(bin-prettier|index|third-party).js\"",
"lint:spellcheck": "cspell --no-progress --relative",
"lint:spellcheck": "cspell --no-progress --relative --dot --gitignore",
"lint:deps": "node ./scripts/check-deps.mjs",
"lint:actionlint": "node-actionlint",
"fix": "run-s fix:eslint fix:prettier",
@@ -272,8 +272,8 @@ test("no-identifier-n", {
valid: ["const a = {n: 1}", "const m = 1", "a.n = 1"],
invalid: [
{
code: "const n = 1; alet(n)",
output: "const node = 1; alet(node)",
code: "const n = 1; alert(n)",
output: "const node = 1; alert(node)",
errors: 1,
},
{