Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
CLI and NPM package for JSHint
JavaScript

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
build
example
lib
packages
test
.gitignore
.gitmodules
CHANGELOG.md
HELP
Jakefile
LICENSE
README.md
package.json

README.md

node-jshint

A command line interface for jshint, with inspiration from nodelint (github.com/tav/nodelint).

Install

npm install jshint

Usage

jshint path path2 [options]

Options

see example/

// custom options
--config path/to/config.json

// custom reporter
--reporter path/to/reporter.js

Default Options

The cli uses the default options that come with jshint, however if it locates a .jshintrc file in your home (~/) directory it will opt for that.

Running Tests

git submodule init
git submodule update

npm install jasmine-node

jake test

Jake Commands

// run tests
jake test

// run jshint
jake lint
Something went wrong with that request. Please try again.