mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
add "--no-must-find-files" flag to cspell command
This commit is contained in:
+1
-1
@@ -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
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user