add "--no-must-find-files" flag to cspell command

This commit is contained in:
tom
2026-02-18 10:35:07 +01:00
parent eb7a6feb1a
commit be031a74bc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ echo 🧿 Running file linter...
npx lint-staged
echo 🧿 Running spelling checker...
git diff --diff-filter=ACMRT --cached --name-only | npx cspell --config cspell.jsonc --file-list stdin
git diff --diff-filter=ACMRT --cached --name-only | npx cspell --config cspell.jsonc --file-list stdin --no-must-find-files
# format svg
echo 🧿 Running svg formatter...
+1 -1
View File
@@ -22,7 +22,7 @@
"lint:eslint": "eslint .",
"lint:eslint:fix": "eslint . --fix",
"lint:tsc": "tsc -p ./tsconfig.json",
"lint:cspell": "cspell .",
"lint:cspell": "cspell . --no-must-find-files",
"lint:license:check": "license-report > ./license.json && license-report-check --source=./license.json --output=table --forbidden=n/a",
"lint:envs-validator:test": "cd ./deploy/tools/envs-validator && ./test.sh",
"prepare": "husky install",