add husky pre-commit

This commit is contained in:
Brandon Egger
2023-04-19 00:06:18 -05:00
parent 192c594d4f
commit 24171db35a
3 changed files with 30 additions and 2 deletions

4
.husky/pre-commit Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm run format