gint
A pluggable and configurable GIT linter tool
Gint can help with enforcing commit message patterns, branch sizes and heaps more.
Install
npm i gint --only=dev
Existing hooks aren't replaced
Uninstall
npm uninstall gint
Usage
Gint requires you to create a configuration file named .gintrc
in your project root. See example below.
Rules
Git GUI clients support
If you've installed Node using the standard installer, nvm or homebrew, Git hooks will be executed in GUI applications.
Working with multiple version of Node
If nvm
is installed, gint will try to use the default
/current
installed Node version or use the project .nvmrc
.
Tip to use the system-installed version of node, nvm
provides a system
alias
See also
- Husky - Heavily based on husky source code.