ESLint vs Infer vs Prettier

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

ESLint

29K
13.4K
+ 1
28
Infer

18
69
+ 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 Infer
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

    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 Infer?

    Facebook Infer is a static analysis tool - if you give Infer some Objective-C, Java, or C code, it produces a list of potential bugs. Anyone can use Infer to intercept critical bugs before they have shipped to people's phones, and help prevent crashes or poor performance.

    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 Infer?
    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 Infer?
    What tools integrate with Prettier?

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

    Blog Posts

    What are some alternatives to ESLint, Infer, 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.
    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.
    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.
    See all alternatives