We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6976c42 commit 4d339dfCopy full SHA for 4d339df
.husky/pre-commit
@@ -1,5 +1,5 @@
1
# lint only staged files
2
pnpm lint-staged
3
4
-# run spell checker for stage files
5
-pnpm cspell --no-summary --no-progress --file $(git diff --name-only --cached)
+# run spell checker for staged files
+pnpm cspell --no-summary --no-progress --files $(git diff --diff-filter=d --name-only --cached)
0 commit comments