Skip to content

Commit 1625071

Browse files
chore(hooks): call commitlint directly
Use the commitlint binary from PATH instead of npx --no-install. Husky already prepends node_modules/.bin, so this reduces startup overhead and keeps the hook simpler.
1 parent 323b9d4 commit 1625071

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
npx --no-install commitlint --edit "$1"
1+
commitlint --edit "$1"

0 commit comments

Comments
 (0)