ESLint vs JSLint vs Prettier

Need advice about which tool to choose?Ask the StackShare community!

ESLint

29K
13.4K
+ 1
28
JSLint

59
29
+ 1
0
Prettier

7K
793
+ 1
7
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of ESLint
Pros of JSLint
Pros of Prettier
  • 8
    Consistent javascript - opinions don't matter anymore
  • 6
    Free
  • 6
    IDE Integration
  • 4
    Customizable
  • 2
    Focuses code review on quality not style
  • 2
    Broad ecosystem of support & users
    Be the first to leave a pro
    • 2
      Customizable
    • 1
      Open Source
    • 1
      Atom/VSCode package
    • 1
      Follows the Ruby Style Guide by default
    • 1
      Runs offline
    • 1
      Completely free

    Sign up to add or upvote prosMake informed product decisions

    - No public GitHub repository available -

    What is ESLint?

    A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.

    What is JSLint?

    It 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 their domain, but there are also command-line adaptations.

    What is Prettier?

    Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use ESLint?
    What companies use JSLint?
    What companies use Prettier?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with ESLint?
    What tools integrate with JSLint?
    What tools integrate with Prettier?
      No integrations found

      Sign up to get full access to all the tool integrationsMake informed product decisions

      Blog Posts

      What are some alternatives to ESLint, JSLint, and Prettier?
      TSLint
      An extensible static analysis tool that checks TypeScript code for readability, maintainability, and functionality errors. It is widely supported across modern editors & build systems and can be customized with your own lint rules, configurations, and formatters.
      JSHint
      It is a community-driven tool to detect errors and potential problems in JavaScript code. It is open source and can easily adjust in the environment you expect your code to execute.
      SonarQube
      SonarQube provides an overview of the overall health of your source code and even more importantly, it highlights issues found on new code. With a Quality Gate set on your project, you will simply fix the Leak and start mechanically improving.
      Babel
      Babel will turn your ES6+ code into ES5 friendly code, so you can start using it right now without waiting for browser support.
      SonarLint
      It is an IDE extension that helps you detect and fix quality issues as you write code. Like a spell checker, it squiggles flaws so that they can be fixed before committing code.
      See all alternatives