A wrapper around JSHint to allow linting of files containg JSX syntax
JavaScript Shell
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore Adding test suite Dec 12, 2013
.jsdocrc.json adding documentation hooks for docme Dec 20, 2013
.jshintrc working and linting Sep 24, 2013
.travis.yml Adding test suite Dec 12, 2013
LICENSE Initial commit Sep 20, 2013
README.md Fix broken fork link Jul 4, 2014
cli.js working and linting Sep 24, 2013
jsxhint.js Adding test suite Dec 12, 2013
package.json 0.3.2 Jan 3, 2014
post-install.js converting pre-commit hook installer to node script for cross platfor… Jan 3, 2014



JSHint 2.2.0 supports an "ignore" statement which can be used to wrap blocks of code which should be passed over by the linter.

/* jshint ignore:start */
/* jshint ignore:end */

I feel this is a much better solution than transforming and wrapping JSHint with a series of transforms since the code produced by JSX's transpiler might produce code which does not comply to your internal lint/hint guidelines.

If you feel you need to use a wrapper around JSHint and want to have JSHint run on your transformed JSX code, please see STRML/JSXHint