chore: add husky git hooks and commitlint
This commit is contained in:
1
.husky/commit-msg
Normal file
1
.husky/commit-msg
Normal file
@@ -0,0 +1 @@
|
||||
bunx --no -- commitlint --edit $1
|
||||
1
.husky/pre-commit
Normal file
1
.husky/pre-commit
Normal file
@@ -0,0 +1 @@
|
||||
bunx lint-staged
|
||||
2
.husky/pre-push
Normal file
2
.husky/pre-push
Normal file
@@ -0,0 +1,2 @@
|
||||
bun run check
|
||||
bun run test:unit -- --run
|
||||
Reference in New Issue
Block a user