Print Print
Reading time 3:44

Original author(s)Anton Kovalyov, forked from original code by Douglas Crockford
Initial releaseFebruary 18, 2011; 10 years ago (2011-02-18)
Stable release
2.10.2 / March 13, 2019; 2 years ago (2019-03-13)
Repository Edit this at Wikidata
Written inJavaScript
Operating systemCross-platform
Available inEnglish
TypeStatic code analysis
LicenseMIT license

JSHint is a static code analysis tool used in software development for checking if JavaScript source code complies with coding rules.[1] JSHint was created in 2011 by Anton Kovalyov as a fork of the JSLint project (by Douglas Crockford).[2][3] Anton and others felt JSLint was getting "too opinionated", and did not allow enough customization options.[4][5][6][7] The JSHint maintainers[8] publish both an online version, and a command-line version.

The online version is accessible through the official website in which users can paste code to run the application online.[1] The command-line version of JSHint (distributed as a Node.js module), enables automated linting processes by integrating JSHint into a project's development workflow.[9]


JSHint is distributed under an MIT license, except for one file still under the JSLint License which is a slightly modified version of the MIT license. The additional clause specifies that the software shall be used "for Good and not Evil". This clause, according to the Free Software Foundation, made the software non-free.[10]

In August 2020, all code under the previous JSLint License was replaced with open-source software, making the software fully free software.[11]


  1. ^ a b Graham, Wayne (2012). Beginning Facebook Game Apps Development. Apress. ISBN 9781430241706.
  2. ^ "Why I forked JSLint to JSHint". anton.kovalyov.net. Anton Kovalyov. 2011-02-20. Archived from the original on 2011-02-24. Retrieved 2018-02-26. [JSLint] has gotten uncomfortably opinionated
  3. ^ "JSHint: A Community Driven Fork of JSLint". badassjs.com. Devon Govett. 18 February 2011. Archived from the original on 21 February 2011. Retrieved 2011-02-21. [..] JSLint was getting a bit too opinionated [..]
  4. ^ Elliot, Ian (21 February 2011). "JSHint - the (gentler) JavaScript code quality tool". www.i-programmer.info. Archived from the original on 2011-02-23. Retrieved 2018-02-26.
  5. ^ "Paren-Free". Brendan Eich. 2011-02-28. Archived from the original on 2011-02-28. Retrieved 2018-02-26.
  6. ^ "Help: JSHint". codekitapp.com. 2018-02-26. Retrieved 2018-02-26. designed to be less opinionated and more configurable
  7. ^ "JSLint vs JSHint". Scott Logic. Retrieved 2018-02-26.
  8. ^ "JSHint Team on GitHub". GitHub. Retrieved 2018-02-26. Anton Kovalyov, Paul Irish, Rick Waldron, Mike Pennisi (@jugglinmike)
  9. ^ Kovalyov, Anton. "JSHint - a JavaScript Code Quality Tool". Retrieved 22 January 2013.
  10. ^ https://www.gnu.org/licenses/license-list.en.html#JSON see the comment about the JSON license
  11. ^ "You May Finally Use JSHint for Evil". mikepennisi.com. 2020-08-03. Retrieved 2020-08-03.

Further reading

External links

By: Wikipedia.org
Edited: 2021-06-18 12:36:24
Source: Wikipedia.org