chore: import husky

This commit is contained in:
greenhat616 2021-05-24 02:25:09 +08:00
parent eba9641aa0
commit f23fbae6aa
No known key found for this signature in database
GPG Key ID: 8A3F5C6934182137
2 changed files with 5 additions and 0 deletions

1
.husky/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
_

4
.husky/pre-commit Executable file
View File

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