We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88373f2 commit 078cf74Copy full SHA for 078cf74
3 files changed
.husky/pre-commit
@@ -0,0 +1,5 @@
1
+if git rev-parse --verify HEAD >/dev/null 2>&1; then
2
+ node node_modules/lint-staged/bin/lint-staged.js
3
+else
4
+ node node_modules/lint-staged/bin/lint-staged.js --diff="--cached"
5
+fi
0 commit comments