Skip to content

Commit

Permalink
Add pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
stormwarning committed Dec 12, 2023
1 parent ee2bcbe commit a797b4d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env sh

# Disable hooks in CI.
[ -n "$CI" ] && exit 0

. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged

0 comments on commit a797b4d

Please sign in to comment.