Skip to content

Commit

Permalink
Update cSpell config (prettier#12154)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Jan 27, 2022
1 parent 23dea6c commit 7e73f1c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
8 changes: 2 additions & 6 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,6 @@
],
"files": [
"*",
".*",
".github/**/*",
"bin/**/*",
"changelog_unreleased/**/*",
"docs/**/*",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions scripts/tools/eslint-plugin-prettier-internal-rules/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
{
Expand Down

0 comments on commit 7e73f1c

Please sign in to comment.