Software Alternatives & Reviews
Register   |   Login

JSHint VS ESLint

Compare JSHint VS ESLint and see what are their differences

New JSHint website. Anton Kovalyov Oct 1st, 2013. For the last couple of weeks I've been working on a new homepage for JSHint and today I'm proud to announce the new jshint. com! JSHint Website.

The fully pluggable JavaScript code quality tool
JSHint Landing Page
JSHint Landing Page
ESLint Landing Page
ESLint Landing Page

JSHint details

Code Coverage Javascript UI Libraries Code Analysis

ESLint details

Code Coverage Code Analysis Code Quality

JSHint videos

Improve code quality with JSHint

More videos:

  • - JSHint- JavaScript Code Quality Tool, detect errors and potential
  • - JavaScript Static Analysis - Linting with JSLint, JSHint, and ESLint

ESLint videos

ESLint Quickstart - find errors automatically

More videos:

  • - ESLint + Prettier + VS Code — The Perfect Setup
  • - Linting and Formatting JavaScript with ESLint in Visual Studio Code

Category Popularity

0-100% (relative to JSHint and ESLint)

Social recommendations and mentions

Based on our record, ESLint seems to be a lot more popular than JSHint. While we know about 39 links to ESLint, we've tracked only 2 mentions of JSHint. We are tracking product recommendations and mentions on Reddit, HackerNews and some other platforms. They can help you identify which product is more popular and what people think of it.

JSHint mentions (2)

  • Help with Modules
    Are you getting the message that you don't have a valid config.js file after you modify the default modules? Try using something like JSHint to confirm that you don't have issues like missing commas or semi-colons and all your brackets and braces tie together. Also, unless you're using the words true/false or numbers, anything else (not the variables but the values you're wanting) generally needs to be surrounded... - Source: Reddit / 3 months ago
  • Design an Effective Build Stage for Continuous Integration
    As you can imagine, the language changed a lot over time, and not all its parts are good. Using a linter will help us stay away from the bad parts of JavaScript. In my experience, the ESlint and JSHint linters integrate very well into the CI environment. Any of these can be installed with npm install --save-dev. - Source: / 4 months ago

ESLint mentions (39)

  • Node.js best practices list (July 2021)
    TL;DR: ESLint is the de-facto standard for checking possible code errors and fixing code style, not only to identify nitty-gritty spacing issues but also to detect serious code anti-patterns like developers throwing errors without classification. Though ESLint can automatically fix code styles, other tools like prettier and beautify are more powerful in formatting the fix and work in conjunction with ESLint. - Source: / 3 days ago
  • Ditching try...catch and null checks with Rust
    If a function ever throws, the caller must remember to handle that exception. And no, your fancy ESlint setup won’t help you here! This can lead to what I'll call try...catch anxiety: wrapping everything in a try block in case something goes wrong. Or worse, you’ll forget to catch an exception entirely, leading to show-stopping failures like our uncaught readFile call. - Source: / 9 days ago
  • State of linting in Rust?
    I've always been big fan of eslint, with its plugin system and configurable rules. Eslint makes both importing, writing, and configuring static analysis lints easy. Does clippy aim to function in a similar way to eslint, or is it headed in a different direction? - Source: Reddit / 16 days ago
  • How To Set Up ESLint & Prettier In VS Code
    ESLint is a tool used for identifying bugs and errors in your typescript/javascript code to make code more consistent and easy to read. It is also known as linters. ESLint statically analyzes your code to quickly find problems. Many problems ESLint finds can be automatically fixed. And the best part is you can customize ESLint to work exactly the way you need it for your project. - Source: / 29 days ago
  • Interactive Maps Where You Can Pick a Style or Theme with React
    The initialization of H.service.Platform() is causing an error because H is not in scope. This is not unique to HERE and is generally the case with any 3rd party code you try to include with React. Using create-react-app implies using its toolchain including webpack as a module bundler, eslint for checking syntax, and Babel to transpile JSX. - Source: / 7 months ago

What are some alternatives?

When comparing JSHint and ESLint, you can also consider the following products

SonarQube - SonarQube is code review and management software. The software is developed by SonarSource, which was founded in 2008 by Freddy Mallet, Simon Brandhof and Olivier Gaudin. Read more about SonarQube.

Prettier - An opinionated code formatter

PyCharm - Python & Django IDE with intelligent code completion, on-the-fly error checking, quick-fixes, and much more...

AngularJS - AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop.

CodeClimate - Code Climate provides automated code review for your apps, letting you fix quality and security issues before they hit production. We check every commit, branch and pull request for changes in quality and potential vulnerabilities.

Ext JS - …

User reviews

Share your experience with using JSHint and ESLint. For example, how are they different and which one is better?

Post a review