Husky
Configure Git hooks with ease.
Husky
Modern native Git hooks made easy.
Git Hooks
Custom scripts that run at various points in your Git workflow.
Installation
Create hook
husky init
creates a pre-commit
script in .husky/
and updates the prepare
script in package.json
.
Test hook
If the hook works, comment out the echo
command.
Last updated on