Skip to content

Instantly share code, notes, and snippets.

@litopia
Last active August 29, 2015 14:04
Show Gist options
  • Save litopia/81dbe914275c379d1ec6 to your computer and use it in GitHub Desktop.
Save litopia/81dbe914275c379d1ec6 to your computer and use it in GitHub Desktop.
JShint

##JShint JSHint is a static code analysis tool used in software development for checking if JavaScript source code complies with coding rules. It was forked from Douglas Crockford's JSLint project, as it was felt that the original did not allow enough customization options.

Github page for install and usage of jshint

###JShint vs. JSlint

If you're looking for a very high standard for yourself or team, JSLint. But its not necessarily THE standard, just A standard, some of which comes to us dogmatically from a javascript god named Doug Crockford. If you want to be a bit more flexible, or have some old pros on your team that don't buy into JSLint's opinions, or are going back and forth between JS and other C-family languages on a regular basis, try JSHint

JShint vs. JSlint

If interested, there is also an article talking about how and why JShint got forked from JSlint. JSHINT: A COMMUNITY DRIVEN FORK OF JSLINT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment