A framework for managing and maintaining multi-language pre-commit hooks
Companies using pre-commit by Yelp
Why people like pre-commit by Yelp
Add a one-liner

If one of your developers doesn’t have node installed but modifies a JavaScript file, pre-commit automatically handles downloading and building node to run jshint without root. Pre-commit is a multi-language package manager for pre-commit hooks. You specify a list of hooks you want and pre-commit manages the installation and execution of any hook written in any language before every commit. pre-commit is specifically designed to not require root access.

pre-commit by Yelp's Features
  • node
  • python
  • ruby
  • pcre - "Perl Compatible Regular Expression" Specify the regex as the entry
  • script - A script existing inside of a repository
  • system - Executables available at the system level