typicode / husky

Git hooks made easy 🐶 woof!
https://typicode.github.io/husky
MIT License
31.69k stars 996 forks source link

Husky does not work with commit-msg #1422

Closed royce-mathew closed 4 weeks ago

royce-mathew commented 4 weeks ago

While trying to set up husky it does not register commit-msg as a valid hook. Although pre-commit is working completely fine and runs all commands that are passed.

Context

# commit-msg
pnpm exec commitlint --edit $1