jshint/jshint


JSHint is a tool that helps to detect errors and potential problems in your JavaScript code

http://jshint.com

License: MIT

Language: JavaScript


JSHint, A Static Code Analysis Tool for JavaScript

[ Use it onlineDocsFAQInstallContributeBlogTwitter ]

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

JSHint is a community-driven tool that detects errors and potential problems in JavaScript code. Since JSHint is so flexible, you can easily adjust it in the environment you expect your code to execute. JSHint is open source and will always stay this way.

Our goal

The project aims to help JavaScript developers write complex programs without worrying about typos and language gotchas.

Any code base eventually becomes huge at some point, so simple mistakes — that would not show themselves when written — can become show stoppers and add extra hours of debugging. So, static code analysis tools come into play and help developers spot such problems. JSHint scans a program written in JavaScript and reports about commonly made mistakes and potential bugs. The potential problem could be a syntax error, a bug due to an implicit type conversion, a leaking variable, or something else entirely.

Only 15% of all programs linted on jshint.com pass the JSHint checks. In all other cases, JSHint finds some red flags that could've been bugs or potential problems.

Please note, that while static code analysis tools can spot many different kind of mistakes, it can't detect if your program is correct, fast or has memory leaks. You should always combine tools like JSHint with unit and functional tests as well as with code reviews.

Reporting a bug

To report a bug simply create a new GitHub Issue and describe your problem or suggestion. We welcome all kinds 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, please look around to see if there are any open or closed tickets that discuss your issue, and remember the wisdom: pull request > bug report > tweet.

Who uses JSHint?

Engineers from these companies and projects use JSHint:

And many more!

License

Most files are published using the standard MIT Expat license. One file, however, is provided under a slightly modified version of that license. The so-called JSON license is a non-free license, and unfortunately, we can't change it due to historical reasons. This license is included as an in-line within the file it concerns.

The JSHint Team

JSHint is currently maintained by Rick Waldron, Caitlin Potter, Mike Pennisi, and Luke Page. You can reach them via admin@jshint.org.

Previous Maintainers

Originating from the JSLint project in 2010, JSHint has been maintained by a number of dedicated individuals. In chronological order, they are: Douglas Crockford, Anton Kovalyov, and Mike Sherov. We appreciate their long-term commitment!

Thank you!

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

Project Statistics

Sourcerank 22
Repository Size 13.9 MB
Stars 8,067
Forks 1,662
Watchers 318
Open issues 419
Dependencies 25
Contributors 248
Tags 68
Created
Last updated
Last pushed

Top Contributors See all

Anton Kovalyov jugglinmike Rick Waldron guyzmo Josh Perez Luke Page usrbincc Nicolò Ribaudo Wolfgang Kluge ⭐caitp⭐ jshaptic Paul Wade Douglas Crockford XhmikosR Lee Byron Ben Blank James Allardice Rob Friesel TPei Nikolay Frantsev

Packages Referencing this Repo

jshint
WebJar for jshint
Latest release 2.9.5 - Updated - 8.07K stars
org.webjars.bower:jshint
WebJar for jshint
Latest release 2.9.5 - Updated - 8.07K stars
jshint
Static analysis tool for JavaScript
Latest release 2.9.7 - Updated - 8.07K stars
jshint
JSHint is a tool that helps to detect errors and potential problems in your JavaScript code
Latest release 2.9.7 - Published - 8.07K stars
douglascrockford
JSHint is a tool that helps to detect errors and potential problems in your JavaScript code
Latest release 2.9.7 - Published - 8.07K stars
org.webjars.npm:jshint
WebJar for jshint
Latest release 2.9.5 - Updated - 8.07K stars
edp-jshint
Static analysis tool for JavaScript
Latest release 2.5.3 - Published - 8.07K stars
jshint-semicolon-hack
Static analysis tool for JavaScript
Latest release 2.5.11 - Updated - 8.07K stars

Recent Tags See all

2.9.7 December 07, 2018
2.9.6 July 30, 2018
2.9.5 June 22, 2017
2.9.4 October 20, 2016
2.9.3 August 18, 2016
2.9.2 April 19, 2016
2.9.1 January 14, 2016
2.9.1-rc3 January 12, 2016
2.9.1-rc2 December 22, 2015
2.9.1-rc1 November 12, 2015
2.9.0 September 03, 2015
2.8.0 May 31, 2015
2.7.0 April 10, 2015
2.6.3 February 28, 2015
2.6.2 February 28, 2015

Interesting Forks See all

facebookarchive/jshint
JSHint is a community-driven tool to detect errors in JavaScript code and enforce your team's cod...
JavaScript - MIT - Last pushed - 10 stars - 1 forks
ajaxorg/jshint
JSHint is a community-driven tool to detect errors in JavaScript code and enforce your team's cod...
JavaScript - MIT - Last pushed - 9 stars - 3 forks
nzakas/jshint
JSHint is a community-driven tool to detect errors in JavaScript code and enforce your team's cod...
JavaScript - Last pushed - 7 stars
SqrTT/dwhint
JavaScript - MIT - Last pushed - 5 stars - 1 forks
fgnass/jshint
JSHint is a community-driven tool to detect errors in JavaScript code and enforce your team's cod...
JavaScript - Last pushed - 4 stars

Something wrong with this page? Make a suggestion

Last synced: 2018-12-07 18:44:46 UTC

Login to resync this repository