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.
via Wikipedia infobox
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-
~3 min read
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.
Excerpt from the source-code README · 42,024 chars · not written by Vinony
via Wikidata · CC0
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).