Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JSHint is a community-driven tool to detect errors in JavaScript code and enforce your team's coding conventions.
branch: master

This branch is 5 commits ahead, 94 commits behind jshint:master

Failed to load latest commit information.
bin Fix browserified jshint version. Fixes #1993
data Regenerate identifier files. Closes #1683.
dist Add suiteSetup and suiteTeardown for mocha vars
examples Update .jshintrc whitespacing
res JSHint logo
scripts JSHint can be run using Rhino in interpreter mode only
src fix lexing of multiline strings
tests [[FEAT]] `elision` option to relax "Extra comma" warnings
.gitignore Implement automated code coverage reporting
.jshintrc Move JSHint config into .jshintrc
.travis.yml Implement automated code coverage reporting
CONTRIBUTING.md [[DOCS]] Correct Markdown formatting
LICENSE Added LICENSE and CONTRIBUTING. Updated README
README.md Use Shields.io SVG badge for coverage report
appveyor.yml Add AppVeyor testing.
package.json

README.md

JSHint, A Static Code Analysis Tool for JavaScript

[ Use it onlineAboutDocsFAQInstallHackBlogTwitter ]

NPM version Build Status Windows Build status Dependency Status devDependency Status
Code Coverage

JSHint is a community-driven tool to detect errors and potential problems in JavaScript code. It is very flexible so you can easily adjust it to your particular coding guidelines and the environment you expect your code to execute in.

Reporting a bug

To report a bug simply create a new GitHub Issue and describe your problem or suggestion. We welcome all kind of feedback regarding JSHint including but not limited to:

  • When JSHint doesn't work as expected
  • When JSHint complains about valid JavaScript code that works in all browsers
  • When you simply want a new option or feature

Before reporting a bug look around to see if there are any open or closed tickets that cover your issue. And remember the wisdom: pull request > bug report > tweet.

Issue Priority

  • P1: Something is throwing exceptions; broken JSHint backward compatibility.
  • P2: Something is not being parsed correctly.
  • P3: Features that the core team will work on once P2s and P1s are done.
  • P4: Patches welcome; The request is good, but low priority.

License

JSHint is distributed under the MIT License. One file and one file only (src/stable/jshint.js) is distributed under the slightly modified MIT License.

Thank you!

We really appreciate all kind of feedback and contributions. Thanks for using and supporting JSHint!

Something went wrong with that request. Please try again.