chore: add husky git hooks and commitlint

This commit is contained in:
2026-03-13 19:26:17 +01:00
parent 2bc03a037b
commit a9b076a5ec
6 changed files with 245 additions and 3 deletions

1
.husky/commit-msg Normal file
View File

@@ -0,0 +1 @@
bunx --no -- commitlint --edit $1

1
.husky/pre-commit Normal file
View File

@@ -0,0 +1 @@
bunx lint-staged

2
.husky/pre-push Normal file
View File

@@ -0,0 +1,2 @@
bun run check
bun run test:unit -- --run