chore: add git hooks
This commit is contained in:
parent
3d49a25cae
commit
4495210f71
7 changed files with 951 additions and 12 deletions
2
.husky/commit-msg
Normal file
2
.husky/commit-msg
Normal file
|
@ -0,0 +1,2 @@
|
|||
export PATH="$PATH:$(pnpm bin)"
|
||||
pnpm dlx commitlint --edit $1
|
3
.husky/pre-commit
Normal file
3
.husky/pre-commit
Normal file
|
@ -0,0 +1,3 @@
|
|||
export PATH="$PATH:$(pnpm bin)"
|
||||
pnpm biome lint
|
||||
pnpm biome format
|
Loading…
Add table
Add a link
Reference in a new issue