Ver Fonte

ci: setup husky pre-push hook to run typecheck

Dax Raad há 6 meses atrás
pai
commit
22d5be9bf8
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      .husky/pre-push

+ 3 - 0
.husky/pre-push

@@ -0,0 +1,3 @@
+#!/bin/sh
+bun prettier --write --ignore-unknown $(git diff --name-only HEAD~1 HEAD)
+bun run typecheck