JSLint
Original author(s) | Douglas Crockford |
---|---|
Initial release | 2002 |
Stable release |
2011-10-11
/ October 11, 2011 |
Development status | Active |
Written in | JavaScript |
Operating system | Cross-platform |
Available in | English |
Type | Static code analysis |
License | JSLint License |
Website |
jslint |
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.
License
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
- Doernhoefer, Mark (2006). "JavaScript". SIGSOFT Softw. Eng. Notes. 31 (4): 16–24. doi:10.1145/1142958.1142972. Retrieved 2010-03-12.
- 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.
References
- ↑ command-line adaptation projects
- ↑ JSLint source file, including license
- 1 2 JSMin isn't welcome on Google Code
- ↑ "Various Licenses and Comments About Them". Free Software Foundation.
- ↑ Re: The Software shall be used for Good, not Evil.
- ↑ 'Hasen el Judy. "IBM and its minions...".
- ↑ The JSON Saga by Douglas Crockford