chore: upgrade husky to v6 (#29535)

* chore: upgrade husky to v5

* Update package.json

* add prepare for husky

* fix chmod

Co-authored-by: yoyo837 <yoyo837@hotmail.com>
This commit is contained in:
Tom Xu
2021-04-19 11:30:51 +08:00
committed by GitHub
parent 5c4aa4065f
commit 48b7edc35f
3 changed files with 7 additions and 6 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 --no-install pretty-quick --staged