chore: add husky pre-commit and pre-push hooks
This commit is contained in:
parent
4d64d50598
commit
35e54014b3
5 changed files with 304 additions and 33 deletions
1
.husky/pre-commit
Executable file
1
.husky/pre-commit
Executable file
|
|
@ -0,0 +1 @@
|
|||
pnpm lint-staged
|
||||
1
.husky/pre-push
Executable file
1
.husky/pre-push
Executable file
|
|
@ -0,0 +1 @@
|
|||
pnpm test:run
|
||||
Loading…
Add table
Add a link
Reference in a new issue