Skip to content

Commit 558bb38

Browse files
authored
chore: fix husky setup (#545)
1 parent 15a0086 commit 558bb38

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

.husky/commit-msg

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

4-
yarn commitlint --edit "${1}"

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
yarn commitlint --edit || exec < /dev/tty && yarn txo-cz --hook > /dev/null 2>&1 || true
1+
yarn git-hook
22

.husky/prepare-commit-msg

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
yarn commitlint --edit || exec < /dev/tty && yarn txo-cz --hook > /dev/null 2>&1 || true
2+

0 commit comments

Comments
 (0)