summaryrefslogtreecommitdiffhomepage
path: root/.husky/pre-push
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-09-26 02:00:42 -0400
committerDax Raad <[email protected]>2025-09-26 02:01:19 -0400
commit22d5be9bf8e64af88bbcc7e6984e3bf5efa77142 (patch)
tree083eddbae148e15bdeb31f86124e5bd08bd280d4 /.husky/pre-push
parent1c878c662b4cdf686d10dfff107702c6b43ce181 (diff)
downloadopencode-22d5be9bf8e64af88bbcc7e6984e3bf5efa77142.tar.gz
opencode-22d5be9bf8e64af88bbcc7e6984e3bf5efa77142.zip
ci: setup husky pre-push hook to run typecheck
Diffstat (limited to '.husky/pre-push')
-rwxr-xr-x.husky/pre-push3
1 files changed, 3 insertions, 0 deletions
diff --git a/.husky/pre-push b/.husky/pre-push
new file mode 100755
index 000000000..c4c3073c3
--- /dev/null
+++ b/.husky/pre-push
@@ -0,0 +1,3 @@
+#!/bin/sh
+bun prettier --write --ignore-unknown $(git diff --name-only HEAD~1 HEAD)
+bun run typecheck \ No newline at end of file