Skip to content

Commit

Permalink
use lint-staged for pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
GNRSN committed Jul 7, 2024
1 parent 6e778d3 commit b9c9d05
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
pnpm run format:fix
#!/usr/bin/env sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged

0 comments on commit b9c9d05

Please sign in to comment.