stagelint runs linters, formatters and other commands on the files you are about to commit, and stages whatever they fix. It is a single binary written in Rust with no runtime dependency, so the same tool works in Node, Python, Go, Rust, .NET or a polyglot monorepo.
Lefthook Alternatives
Apps similar to Lefthook include stagelint, which is free and open source. Other options are Husky Git Hooks and pre-commit. In total there are three apps like Lefthook for Linux, Mac and Windows.
Alternatives list
Husky enhances your commits and more 🐶 woof! Automatically lint your commit messages, code, and run tests upon committing or pushing.
Git hook scripts are useful for identifying simple issues before submission to code review. We run our hooks on every commit to automatically point out issues in code such as missing semicolons, trailing whitespace, and debug statements.
United States





