ghk-jshint
v1.0.1
Published
git hook to lint js files with jshint before committing them
Downloads
4
Maintainers
Readme
ghk-jshint
git hook to lint js files with jshint before committing them
plugin for ghk package
installation
$ npm install --save-dev ghk-jshint
usage
inside your project's .ghkrc
(or the one in your root directory):
{
"pre-commit": {
"jshint": {
"exclude": ["some/pattern/*", "another/pattern/*"]
}
}
}
options
- exclude: a list of patterns to exclude files from linting