
Description
JSHint is a community-driven static code analysis tool that flags errors and potential problems in JavaScript. You can use it online on the project's site: enter code, configure the checks, and read the warnings. Configuration covers warnings for cyclomatic complexity, unused and undefined variables, unsafe for..in loops, eval, unsafe line breaks, assignments in conditions, and code that is not in strict mode. You also choose the environment your code is meant for, such as browser, Node.js, jQuery, development consoles, ES6 features, Mozilla JavaScript extensions or older ES3 environments, so the checks match where the code will run. The documentation explains each warning, and the project publishes install instructions and contribution guidance. JSHint is open source, and its releases are on GitHub. The current version listed on the site is 2.13.6.…
Highlights
- Flags errors and potential problems in JavaScript
- Configurable warnings and target environments
- Online checker with a configuration panel
- Complexity and unused-variable checks
- Open source with releases on GitHub
Ratings & Reviews
No ratings yet
Be the first to rate JSHint.
People also visit
JSHint FAQ
What is JSHint?
JSHint is a JavaScript code quality tool. It detects errors and potential problems in JavaScript code.
Can I use it without installing?
Yes. The site has an online version where you can configure the checks and see the warnings.
Which environments can I choose?
Browser, Node.js, jQuery, development consoles, ES6 features, Mozilla extensions and older ES3 environments are among the options.
Is JSHint open source?
Yes. It is a community-driven project, and its releases are on GitHub. The current version listed on the site is 2.13.6.
Where can I get help?
The site has documentation, a FAQ, install instructions, a contribution guide and a blog.
What are the best JSHint alternatives?
Popular alternatives to JSHint include BestofWeb.site and Talkyard. See all JSHint alternatives





