ci: setup husky pre-push hook to run typecheck
This commit is contained in:
parent
1c878c662b
commit
22d5be9bf8
3
.husky/pre-push
Executable file
3
.husky/pre-push
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
bun prettier --write --ignore-unknown $(git diff --name-only HEAD~1 HEAD)
|
||||
bun run typecheck
|
||||
Loading…
Reference in New Issue
Block a user