chore: husky

This commit is contained in:
lencx
2023-01-22 20:16:14 +08:00
parent d84c11319d
commit 6a7eabf5cb
2 changed files with 9 additions and 7 deletions

6
.husky/pre-commit Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm run pretty-quick
cargo fmt
git add .