🔧 chore: add Husky pre-commit hook for type-check

Set up Husky to run pnpm run type-check before every commit,
preventing commits with TypeScript errors.
This commit is contained in:
Wuesteon 2025-12-03 00:08:06 +01:00
parent 2635281fd4
commit 2154c3b37a
3 changed files with 122 additions and 331 deletions

1
.husky/pre-commit Normal file
View file

@ -0,0 +1 @@
pnpm run type-check