Skip to content

Commit

Permalink
build: add svelte check in pre-commit hook (#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtourkos authored Sep 8, 2023
1 parent e4c2977 commit c170c4e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged --concurrent false

if ! npm run check; then
echo "check script failed"
exit 1
fi

0 comments on commit c170c4e

Please sign in to comment.