Skip to content

Commit 8e421ec

Browse files
committed
chore: added husky hooks
1 parent 3bbca0d commit 8e421ec

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit $1

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
pnpm run format:fix

0 commit comments

Comments
 (0)