From Wikipedia, the free encyclopedia
Jump to: navigation, search
Original author(s) Douglas Crockford
Initial release 2002; 16 years ago (2002)
Stable release
2011-10-11 / October 11, 2011; 6 years ago (2011-10-11)
Development status Active
Written in JavaScript
Operating system Cross-platform
Available in English
Type Static code analysis
License JSLint License
Website jslint.com

JSLint is a static code analysis tool used in software development for checking if JavaScript source code complies with coding rules. It is provided primarily as an online tool, but there are also command-line adaptations.[1] It was developed by Douglas Crockford.


The JSLint license[2] is a derivative of the MIT License.[3] The sole modification is the addition of "The Software shall be used for Good, not Evil."

According to the Free Software Foundation, this clause makes the license non-free.[4] The clause has also prevented JSLint-related software from being hosted on Google Code[3] and from being included in the Debian free software package repositories.[5] Because of this restriction, according to Crockford, IBM asked Crockford for a license to do evil, such that their customers could use it.[6][7]

Further reading[edit]

  • Appendix C of Crockford, Douglas (May 2008). JavaScript: The Good Parts (1 ed.). O'Reilly Media. ISBN 0-596-51774-2. 
  • Section 'Performing JavaScript Syntax Checking with JSLint', Pages 143-145 of Asleson, Ryan; Nathaniel T. Schutta (2005-10-14). Foundations of Ajax (1 ed.). Apress. ISBN 1-59059-582-3. 


External links[edit]