JSLint
Sign in to saveJSLint 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 a browser-based web application accessible through the domain jslint.com, but there are also command-line adaptations. It was created in 2002 by Douglas Crockford.
In the Vinony graph
Within Vinony's link graph, JSLint is referenced by 125 other articles, and connects out to JavaScript, static program analysis and technology.
It sits within the topics JavaScript programming tools and Static program analysis tools.
Its subject is documented across 11 Wikipedia language editions.
Key facts
- Software.logo
- 128px
- Software.name
- JSLint
- Software.title
- JSLint
- Software.author
- Douglas Crockford
- Software.developer
- Douglas Crockford, Kai Zhu
- Software.programming language
- JavaScript
- Software.operating system
- Cross-platform
- Software.language
- English
- Software.genre
- Static code analysis
- Software.license
- Unlicense
via Wikipedia infobox
Source code
To create a JSLint report in shell: shell output screenshot file .artifact/jslint report hello.html To create a JSLint report in javascript: shell output screenshot file .artifact/jslint report hello.html To create V8 coverage report from Node.js / Npm program in shell: shell output screenshot file .artifact/coverage sqlite3 sh/index.html screenshot file .artifact/coverage sqlite3 sh/lib/sqlite3.js.html To create V8 coverage report from Node.js / Npm program in javascript: shell output screenshot file .artifact/coverage sqlite3 js/index.html screenshot file .artifact/coverage sqlite3 js/lib/sqlite3.js.html Quickstart JSLint in Vim 1. Download and save jslint.mjs , jslint wrapper vim.vim to directory ~/.vim/ 2. Add vim-command :source ~/.vim/jslint wrapper vim.vim to file ~/.vimrc If above files were saved to custom-directory, then use that directory instead, e.g.: save jslint.mjs , jslint wrapper vim.vim to directory ~/vimfiles/ vim-command :source ~/vimfiles/jslint wrapper vim.vim 3. Vim can now jslint files (via nodejs): with vim-command :SaveAndJslint with vim-key-combo screenshot Documentation jslint.mjs contains the jslint function. It parses and analyzes a source file, returning an object with information about the file. It can also take an object that sets options. index.html runs the jslint.mjs function in a web page. License JSLint is under Unlicense License. CodeMirror editor is under MIT License. Function v8CoverageListMerge is derived from MIT Licensed v8-coverage. 1. wait awhile before continuing ... click Squash and merge verify ci-success @ run verify ci-success @ verify ci-success @ click Delete branch 1. wait awhile before continuing ... click Squash and merge verify ci-success @ run verify ci-success @ verify ci-success @ click Delete branch run verify ci-
Excerpt from the source-code README · 42,024 chars · not written by Vinony
Wikidata facts
- Author
- Douglas Crockford
- Official website
- www.jslint.com
- Has use
- static program analysis
Show 5 more facts
- source code repository URL
- github.com/jslint-org/jslint
- programmed in
- JavaScript
- inception
- 2002-00-00
- software version identifier
- v2024.11.24
- copyright license
- Unlicense
via Wikidata · CC0
~3 min read
Encyclopedic overview
6 sectionsContents
- License
- Influence
- See also
- References
- Further reading
- External links
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 a browser-based web application accessible through the domain jslint.com, but there are also command-line adaptations. It was created in 2002 by Douglas Crockford.
== License == Since 2021, JSLint uses the FSF / OSI approved Unlicense license.
Excerpted from Wikipedia’s “JSLint” article, available under the CC BY-SA 4.0 licence.