Skip to content

Commit 6617318

Browse files
committed
chore(husky): restore standard helper sourcing and npx commitlint
1 parent b54fe96 commit 6617318

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.husky/commit-msg

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

4-
./node_modules/.bin/commitlint --config commitlint.config.mjs --edit $1
3+
# Validate commit message
4+
npx --no-install commitlint --edit "$1"

.husky/pre-commit

100644100755
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
4-
# Run fast pre-commit checks (use yarn in this repo)
5-
yarn -s test
2+
#placeholder

0 commit comments

Comments
 (0)