chore: add husky

This commit is contained in:
GyDi
2021-12-25 17:04:55 +08:00
parent 4bf0c0d19a
commit afa56e916e
2 changed files with 14 additions and 1 deletions

4
.husky/pre-commit Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
yarn pretty-quick --staged