A wrapper around JSHint to allow linting of files containg JSX syntax
JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
.jsdocrc.json
.jshintrc
.travis.yml
LICENSE
README.md
cli.js working and linting Sep 24, 2013
jsxhint.js
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
pre-commit.sh

README.md

THIS PROJECT IS NO LONGER MAINTAINED

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 */
<div><span></span></div>
/* 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