ESLint vs IntelliJ IDEA

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

ESLint

28.8K
13.4K
+ 1
28
IntelliJ IDEA

42.5K
35.6K
+ 1
1.5K
Add tool

ESLint vs IntelliJ IDEA: What are the differences?

Introduction

ESLint and IntelliJ IDEA are two popular tools used in software development to improve code quality and catch bugs early in the development process. While both tools serve the same purpose, there are several key differences between them.

  1. Integration with IDE: One of the main differences between ESLint and IntelliJ IDEA is their integration with an IDE. ESLint is a JavaScript linter that can be used in various text editors and IDEs, while IntelliJ IDEA is a full-fledged integrated development environment that offers built-in support for code analysis and debugging.

  2. Language Support: ESLint primarily focuses on JavaScript and provides extensive support for various ECMAScript standards. On the other hand, IntelliJ IDEA supports a wide range of programming languages, including but not limited to JavaScript, Java, Kotlin, Python, Go, and PHP. This makes IntelliJ IDEA a versatile tool for developers working on multiple projects in different languages.

  3. Customization and Extensibility: ESLint allows developers to customize and extend the linting rules by creating their own rule sets or by using plugins. It provides a high degree of flexibility and control over the linting process. IntelliJ IDEA, on the other hand, offers predefined code inspections and various configuration options. While it does provide some customization options, the level of customization is not as extensive as ESLint.

  4. IDE-Specific Features: Since IntelliJ IDEA is an IDE, it offers a wide range of features that go beyond code analysis and linting. It provides powerful code completion, intelligent refactoring, version control integration, debugging tools, and many other productivity features. ESLint, being a linter, focuses primarily on code quality and does not provide these additional IDE-specific features.

  5. Real-time Analysis: IntelliJ IDEA performs real-time code analysis as you type, providing instant feedback on potential issues and suggesting quick fixes. ESLint requires a separate linting step to be performed, either manually or through integration with a text editor or build system. This difference in analysis workflow can impact developer productivity and the ability to catch issues early.

  6. Community Support and Adoption: ESLint has gained significant community traction and is widely adopted in the JavaScript ecosystem. It has an active open-source community, which regularly contributes new rules and plugins. IntelliJ IDEA, being a commercial IDE, also has a strong user base and support from JetBrains, the company behind the IDE. The level of community support and adoption may differ based on the programming language and specific use case.

In summary, ESLint is a versatile JavaScript linter that can be used in various text editors and IDEs, providing extensive customization options and community support. IntelliJ IDEA, on the other hand, is a feature-rich integrated development environment with support for multiple programming languages, offering built-in code analysis and a wide range of productivity features.

Advice on ESLint and IntelliJ IDEA
christy craemer
Needs advice
on
EclipseEclipseIntelliJ IDEAIntelliJ IDEA
and
PyCharmPyCharm

UPDATE: Thanks for the great response. I am going to start with VSCode based on the open source and free version that will allow me to grow into other languages, but not cost me a license ..yet.

I have been working with software development for 12 years, but I am just beginning my journey to learn to code. I am starting with Python following the suggestion of some of my coworkers. They are split between Eclipse and IntelliJ IDEA for IDEs that they use and PyCharm is new to me. Which IDE would you suggest for a beginner that will allow expansion to Java, JavaScript, and eventually AngularJS and possibly mobile applications?

See more
Replies (12)
Recommends
on
Visual Studio CodeVisual Studio Code

Pycharm is great for python development, but can feel sometimes slow and community version has Somme very annoying restrictions (like they disabled jupyter notebooks plugin and made it premium feature). I personally started looking into VS Code as an alternative, and it has some very good potential. I suggest you take it into account.

See more
Recommends
on
PyCharmPyCharm

The Community version of PyCharm is free and should give you what you need to get started with Python. Both PyCharm and IntelliJ are made by JetBrains. IntelliJ is initially focused on Java but you can get plugins for lots of other things. I subscribe to JetBrains' Toolbox: https://www.jetbrains.com/toolbox-app/ and have access to all of their great tools.

See more
Recommends
on
Visual Studio CodeVisual Studio Code

Hi, I will give my opinion based on my experience. I have used PyCharm, both community and Professional version. The community has limited functions, like you can't use a Jupyter notebook whereas it's available in the Professional version. PyCharm is slower compared to Visual Studio Code. Also Visual Studio Code is an editor which supports various languages. I myself have used both Visual Studio Code and PyCharm. I feel Visual Studio Code would be better choice. You may as well decide based upon your requirements.

See more
Charles Nelson
Recommends
on
IntelliJ IDEAIntelliJ IDEA

I couldn't imagine using a development tool other than the IntelliJ IDEA Ultimate All Products Pack. A single license allows me to work directly on my server running Ubuntu and/or my workstation running Windows 10 Pro simultaneously. My current project uses HTML, W3CSS, JavaScript, Java, Groovy, Grails, C, GO, Python, Flask, and Rust. For me it's worth every penny of the $150 license fee. And you can try it for free.

See more
Ivan Martinez Morales
Software Engineer Intern · | 4 upvotes · 661K views
Recommends
on
Visual Studio CodeVisual Studio Code

I'd personally recommend Visual Studio Code as it gives you the flexibility of working in any language, so long as there are extensions to support it. It gives you the flexibility to learn Python, venture into Java, Javascript, and eventually AngularJS, and potentially mobile applications. It's also free and you can install it on your personal computer. I think Visual Studio Code would serve your intended use case best.

See more
awesomebanana2018
Recommends
on
Visual Studio CodeVisual Studio Code

Visual Studio code is easy to use, has a good UI, and a large community. Python works great with it, but unlike some other editors, it works with most languages either by default or by downloading a plugin. VS Code has built in linting, syntax coloring, autocompletes (IntelliSense), and an api for plugins to do there own tooling.

See more
Isaac Povey
Casual Software Engineer at Skedulo · | 3 upvotes · 661.1K views
Recommends
on
IntelliJ IDEAIntelliJ IDEA

IntelliJ really is the best for Java, I switched from eclipse years ago and never looked back. As for javascript, python and angular either using the standalone products from jetbrains (pycharm for python, webstorm for js) or installing the relevant plugins for InteliJ will be your best bet. Pycharm etc. are really just InteliJ with some additional plugins installed.

See more
Pranshu Verma
Engineer at Cisco Systems · | 3 upvotes · 661K views
Recommends
on
PyCharmPyCharm

If you starting with Python then PyCharm is better. For Java I would suggest to go with IntelliJ IDEA but people also prefer eclipse so I would say try both and then decide. For JS/Angular/React I would suggest go with VSCode. I personally use it and prefer as its light weight and have good integration with chrome for frontend development.

PyCharm, IntelliJ IDEA are both products of JetBrains. They have a free (limited feature) and paid edition. Eclipse is free. VSCode is also free.

See more
Recommends
on
PyCharmPyCharm

All three are great, however, I believe that IntelliJ IDEA's multiple IDE's are slightly more straight-forward and more up-to date than Eclipse. If I had to choose one specifically for Python projects I would go with PyCharm.

See more
Recommends
on
PyCharmPyCharm

Pycharm is all you need to get start coding in python or any of its framework. Its an awesome tool you should give it a try :)

See more
Pritam Nandy
Engineering Manager at Reliance Jio Infocomm Limited · | 1 upvotes · 608.5K views
Recommends
on
PyCharmPyCharm

This is a very easy to use tool and gives you the opportunity to start coding right after the installation with almost everything setup automatically by the tool.

See more
Brian Turner
System Architect at Mary's Watch, Inc. · | 1 upvotes · 661K views
Recommends
on
IntelliJ IDEAIntelliJ IDEA

Easy to learn and everything you need

See more
Needs advice
on
ESLintESLintSass Lint Sass Lint
and
StylelintStylelint

Scenario: I want to integrate Prettier in our code base which is currently using ESLint (for .js and .scss both). The project is using gulp.

It doesn't feel quite right to me to use ESLint, I wonder if it would be better to use Stylelint or Sass Lint instead.

I completed integrating ESLint + Prettier, Planning to do the same with [ Stylelint || Sasslint || EsLint] + Prettier.

And have gulp 'fix' on file save (Watcher).

Any recommendation is appreciated.

See more
Replies (3)
Amaro Mariño
Senior Frontend Developer at Landbot.io · | 6 upvotes · 152.2K views
Recommends
on
ESLintESLint

In the case of .js files I would recommend using both Eslint and Prettier.

You can set up Prettier as an Eslint rule using the following plugin:

https://github.com/prettier/eslint-plugin-prettier

And in order to avoid conflicts between Prettier and Eslint, you can use this config:

https://github.com/prettier/eslint-config-prettier

Which turns off all Eslint rules that are unnecessary or might conflict with Prettier.

See more
Alex Spieslechner

you don't actually have to choose between these tools as they have vastly different purposes. i think its more a matter of understanding how to use them.

while eslint and stylelint are used to notify you about code quality issues, to guide you to write better code, prettier automatically handles code formatting (without notifying me). nothing else.

prettier and eslint both officially discourage using the eslint-plugin-prettier way, as these tools actually do very different things. autofixing with linters on watch isnt a great idea either. auto-fixing should only be done intentionally. you're not alone though, as a lot of devs set this up wrong.

i encourage you to think about what problem you're trying to solve and configure accordingly.

for my teams i set it up like this: - eslint, stylelint, prettier locally installed for cli use and ide support - eslint config prettier (code formatting rules are not eslints business, so dont warn me about it) - vscode workspace config: format on save - separate npm scripts for linting, and formatting - precommit hooks (husky)

so you can easily integrate with gulp. its just js after all ;)

See more
Alexis Villegas Torres
Software Engineer at SpeedUrWeb · | 5 upvotes · 151.9K views
Recommends
on
StylelintStylelint

Pura vida! Well, I had a similar issue and at the end I decided to use Stylelint + Prettier for that job, in our case, we wanted that our linting process includes the SCSS files and not only the JS file, base on that we concluded that using only ESLint to do both things wasn't the best option, so, we integrated prettier with Stylelint, and for that we used a neat plugin that allowed us to use Prettier inside Stylelint here is the link, https://github.com/prettier/stylelint-prettier#recommended-configuration, I hope that this can help you, hasta pronto!, :)

See more
Decisions about ESLint and IntelliJ IDEA
Manabu Tokunaga
CEO, Co-Founder at WinguMD · | 10 upvotes · 502.9K views

I originally chose IntelliJ over Eclipse, as it was close enough to the look and feel of Visual Studio and we do go back and forth between the two. We really begin to love IntelliJ and their suite of IDEs so we are now using AppCode for the IOS development because the workflow is identical with the IntelliJ. IntelliJ is super complex and intimidating at first but it does afford a lot of nice utilities to get us produce clean code.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of ESLint
Pros of IntelliJ IDEA
  • 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
  • 301
    Fantastically intelligent
  • 242
    Best-in-class ide
  • 190
    Many languages support
  • 158
    Java
  • 121
    Fast
  • 82
    Code analysis
  • 79
    Reliable
  • 76
    Out of the box integration with maven, git, svn
  • 64
    Plugin architecture
  • 61
    Integrated version control
  • 12
    Code refactoring support
  • 11
    Best java IDE
  • 7
    Local history
  • 6
    Code Completion
  • 6
    Kotlin
  • 6
    Integrated Database Navigator
  • 6
    Built-in terminal/run tools
  • 5
    All
  • 5
    Free for open-source development, students and teacher
  • 5
    Base for Android Studio
  • 5
    Free If you're a Student
  • 4
    ERD Diagrams
  • 4
    Free
  • 4
    Cross platform
  • 4
    IDE
  • 4
    Database/Code integration
  • 3
    Out Of The Box features
  • 3
    Column Selection Mode
  • 3
    Server and client-side debugger
  • 3
    More than enough languages for any developer
  • 3
    Typescript support
  • 3
    Multicursor support
  • 3
    Reformating Code
  • 3
    Intuitive
  • 3
    Command-line tools
  • 3
    Android Integration
  • 3
    Vim support
  • 3
    Special icons for most filetypes in project list
  • 3
    Supports many frameworks
  • 3
    Built-in web server
  • 3
    Live Templates
  • 3
    Scala support
  • 2
    Works fine with mac os catalina
  • 2
    A lot of plugin
  • 2
    Just works
  • 2
    Integrated Ssh/Ftp Managers
  • 2
    Full support
  • 2
    Task managers
  • 2
    Diff tools
  • 2
    File Watchers
  • 2
    Support for various package managers
  • 2
    Integrated Code Linting
  • 2
    Clean UI
  • 2
    Open source
  • 2
    So modernised
  • 2
    Efficient, one Stop solution

Sign up to add or upvote prosMake informed product decisions

Cons of ESLint
Cons of IntelliJ IDEA
    Be the first to leave a con
    • 20
      Large footprint required to really enjoy (mem/disc)
    • 16
      Very slow
    • 8
      Bad for beginners
    • 7
      UI is not intuitive
    • 5
      Not nearly as many tools to integrate as vs code
    • 5
      Constant reindexing
    • 4
      Needs a lot of CPU and RAM power
    • 3
      Built in terminal is slow
    • 3
      Doesn't work that well with windows 10 edu
    • 1
      Ruby is a plug in
    • 1
      Pesky warnings increase with every release
    • 0
      AAD

    Sign up to add or upvote consMake 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 IntelliJ IDEA?

    Out of the box, IntelliJ IDEA provides a comprehensive feature set including tools and integrations with the most important modern technologies and frameworks for enterprise and web development with Java, Scala, Groovy and other languages.

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

    What companies use ESLint?
    What companies use IntelliJ IDEA?
    See which teams inside your own company are using ESLint or IntelliJ IDEA.
    Sign up for StackShare EnterpriseLearn More

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

    What tools integrate with ESLint?
    What tools integrate with IntelliJ IDEA?

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

    Blog Posts

    What are some alternatives to ESLint and IntelliJ IDEA?
    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.
    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.
    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.
    See all alternatives