mirror of
https://github.com/hanzoai/husky.git
synced 2026-09-24 16:59:45 +00:00
3.0 KiB
3.0 KiB
Modern native git hooks made easy
Husky enhances your commits and more 🐶 woof!
Automatically lint your commit messages, code, and run tests upon committing or pushing.
Get started here.
See what's new in v9 in the Changelog 🚀
Sponsors
Support this project by becoming a sponsor here 💖
GitHub
Open Collective
Features
- Just
2 kB(📦 gzipped) with no dependencies - Uses new Git feature (
core.hooksPath) - Adheres to Git's native hook organization
- Aligns with npm best practices using
preparescript - Clear user messages
- O pt-in/opt-out options
- Branch-specific hooks
- Supports:
- macOS, Linux, Windows
- Git GUIs, Node version managers, custom hooks directory, nested projects, monorepos
- All 13 client-side Git hooks
Used by
Husky is used in over 1.3M projects on GitHub, including:
- vercel/next.js
- vercel/hyper
- webpack/webpack
- angular/angular
- facebook/docusaurus
- microsoft/vscode
- 11ty/eleventy
- stylelint/stylelint
- colinhacks/zod
- rollup/rollup
- ...