Husky enhances your commits and more 🐶 woof! Automatically lint your commit messages, code, and run tests upon committing or pushing.
Cost / License
- Free
- Open Source
Platforms
- Linux
Husky Git Hooks is the most popular Linux alternative to Lefthook.
Husky Git Hooks is the most popular Open Source & free alternative to Lefthook.
- Husky Git Hooks is Free and Open Source




I'm moving from pre-commit to lefthook because pre-commit has very poor support for running stuff inside subdirectories - it currently requires brittle bash manipulation to make it work after changing directories. I tried to suggest a small change (allowing filenames to be passed as absolute paths instead of relative paths) and was quite rudely shut up by the author (see https://github.com/pre-commit/pre-commit/issues/3228)