1.0.1 • Published 8 years ago

ghk-jshint v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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