@pab78430/husky
v3.0.5
Published
Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)
Maintainers
Readme
Husky
Git hooks made easy
Husky can prevent bad git commit, git push and more 🐶 woof!
Install
npm install @pab78430/husky --save-devCreate hooks in folder ./hooks
To go further, see the docs here.
Note: there's a known issue with Node v12.0, please use v12.1 or higher.
Uninstall
npm uninstall huskyGit hooks installed by husky will be removed.
Features
- Keeps existing user hooks
- Supports GUI Git clients
- Supports all Git hooks (
pre-commit,pre-push, ...)
See also
- pkg-ok - Prevents publishing a module with bad paths or incorrect line endings
- please-upgrade-node - Show a message to upgrade Node instead of a stacktrace in your CLIs
- pinst - dev only postinstall hook
