JSHint

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
JSHint
Original author(s)Anton Kovalyov, forked from original code by Douglas Crockford
Initial releaseFebruary 18, 2011; 7 years ago (2011-02-18)
Stable release
2.9.4 / October 20, 2016; 2 years ago (2016-10-20)
Written inJavaScript
Operating systemCross-platform
Available inEnglish
TypeStatic code analysis
LicenseModified MIT license
Websitejshint.com

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]

License[edit]

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, makes the software non-free.[10]

See also[edit]

References[edit]

  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 2011-02-21. 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

Further reading[edit]

External links[edit]