mirror of
https://github.com/hanzoai/husky.git
synced 2026-09-24 16:59:45 +00:00
c838011702cbedc1dd886b4351f15c6339223023
husky
Modern native Git hooks made easy
Husky improves your commits and more 🐶 woof!
Usage
Edit package.json > prepare script:
npm set-script prepare "husky install"
Add a hook:
npx husky add .husky/pre-commit "npm test"
Make a commit:
$ git commit -m "Keep calm and commit"
For more use cases, see documentation.
Documentation
https://typicode.github.io/husky
Important Upgrading from v4 to v6 requires additional steps, please see the docs.
License
MIT
Companies
Become a sponsor and have your logo here and in the docs
The full list of Sponsors can be viewed in the docs, on Open Collective and on GitHub sponsors.
Languages
JavaScript
92.1%
Shell
7.9%