Skip to content

Commit

Permalink
Run formatting on pre-commit silently. There's a bug that produces qu…
Browse files Browse the repository at this point in the history
…ite a bit of spam otherwise. See lint-staged/lint-staged#1164
  • Loading branch information
Tuomo Oila authored and tuomokar committed Oct 16, 2022
1 parent 341b048 commit 408bd46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
echo 'running pre-commiting checks...'

npx lint-staged -q

0 comments on commit 408bd46

Please sign in to comment.