chore(deps-dev): migrate husky config to v8

Follow: https://github.com/typicode/husky-4-to-8
- npm install husky --save-dev
- npx husky-init
- npm exec -- github:typicode/husky-4-to-8 --remove-v4-config
This commit is contained in:
Nogic
2022-07-25 02:58:35 +00:00
parent e81cd4d454
commit d26ead4cf0
4 changed files with 19 additions and 16 deletions

5
.husky/pre-push Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
# Tests are not run at push time since they can take 2-4 minutes to complete
npm run format-check