Skip to content

Commit ffb5e98

Browse files
committed
🐶 [husky] add 'commit' and 'push' hook
ref #64
1 parent 6a8bc5f commit ffb5e98

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,5 @@ yarn.lock
2929
*.sw?
3030

3131
pnpm-lock.yaml
32-
.husky
3332
.turbo
3433
__snapshots__

.husky/_/commit-msg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env sh
2+
npx --no -- commitlint -g ./node_modules/@janghood/lint/config/commitlint.config.ts --edit $1

.husky/_/pre-push

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env sh
2+
npx jhlint

0 commit comments

Comments
 (0)