pre-commit Alternatives
Apps similar to pre-commit include Lefthook, which is free and open source. Other options are Husky Git Hooks, Simple Git Hooks and stagelint. In total there are four apps like pre-commit 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.
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.



