mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-23 18:54:21 +01:00
ci: setup husky pre-push hook to run typecheck
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user