Description
JSLint is a code quality tool for JavaScript. It reads a JavaScript program and reports problems in it. The web version runs in the browser: you paste your source into the page, choose options, and read the results. The project says the browser version analyzes code on your own machine and does not send it over the network. The options let you set the environment your code targets, such as browser, devel or node, and switch individual checks on or off. An Autofix Whitespace button cleans up spacing in the source, and a Clear Options button resets your settings. The page links to instructions, a guide called How JavaScript Works and an issue tracker. The source code is published on GitHub, where the project is open to bug reports and contributions.…
Highlights
- Checks JavaScript source for code quality problems
- Runs in the browser without sending your code over the network
- Options for browser, devel and node environments
- Autofix button for whitespace
- Source published on GitHub with an issue tracker
Ratings & Reviews
No ratings yet
Be the first to rate JSLint.
People also visit
JSLint FAQ
What is JSLint?
JSLint is a JavaScript code quality tool. It looks for problems in JavaScript programs and reports them.
Does my code leave my computer?
No. The project says the browser version analyzes source without sending it over the network.
Can it check code for Node or the browser?
Yes. The environment options include browser, devel and node, so you can match the checks to where the code runs.
Is JSLint open source?
Yes. Its source is published on GitHub under the jslint-org organization, where you can also report issues.
Can it fix formatting?
There is an Autofix Whitespace button that cleans up spacing in the source you paste in.
What are the best JSLint alternatives?
Popular alternatives to JSLint include quick-lint-js, ESLint and Analysis-tools. See all JSLint alternatives





