JSLint
Encyclopedia
JSLint is a static code analysis
tool used in software development
for checking if JavaScript
source code
complies with coding rules
. It is developed by Douglas Crockford
. It is provided primarily as an online tool, but there are also command-line adaptations.
. The sole modification is the addition of "The Software shall be used for Good, not Evil." This clause has prevented JSLint-related software from being hosted on Google Code and from being included in the Debian free software
package repositories.
Static code analysis
Static program analysis is the analysis of computer software that is performed without actually executing programs built from that software In most cases the analysis is performed on some version of the source code and in the other cases some form of the object code...
tool used in software development
Software development
Software development is the development of a software product...
for checking if JavaScript
JavaScript
JavaScript is a prototype-based scripting language that is dynamic, weakly typed and has first-class functions. It is a multi-paradigm language, supporting object-oriented, imperative, and functional programming styles....
source code
Source code
In computer science, source code is text written using the format and syntax of the programming language that it is being written in. Such a language is specially designed to facilitate the work of computer programmers, who specify the actions to be performed by a computer mostly by writing source...
complies with coding rules
Programming style
Programming style is a set of rules or guidelines used when writing the source code for a computer program. It is often claimed that following a particular programming style will help programmers to read and understand source code conforming to the style, and help to avoid introducing errors.A...
. It is developed by Douglas Crockford
Douglas Crockford
Douglas Crockford is an American computer programmer and entrepreneur, best known for his ongoing involvement in the development of the JavaScript language, and for having popularized the data format JSON , and for developing JSLint...
. It is provided primarily as an online tool, but there are also command-line adaptations.
JSLint License
The JSLint license is a derivative of the MIT LicenseMIT License
The MIT License is a free software license originating at the Massachusetts Institute of Technology . It is a permissive license, meaning that it permits reuse within proprietary software provided all copies of the licensed software include a copy of the MIT License terms...
. The sole modification is the addition of "The Software shall be used for Good, not Evil." This clause has prevented JSLint-related software from being hosted on Google Code and from being included in the Debian free software
Free software
Free software, software libre or libre software is software that can be used, studied, and modified without restriction, and which can be copied and redistributed in modified or unmodified form either without restriction, or with restrictions that only ensure that further recipients can also do...
package repositories.
External links
- Appendix C of
- Section 'Performing JavaScript Syntax Checking with JSLint', Pages 143-145 of
- Section 'Performing JavaScript Syntax Checking with JSLint', Pages 143-145 of