question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IntelliJ IDEA and WebStorm do not visualizes lint issues

See original GitHub issue

Describe the bug IntelliJ IDEA and WebStorm do not visualizes lint issues.

To Reproduce Steps to reproduce the behavior:

  1. Run npm install in any one of the example project directories.
  2. Open the example project in IDEA or WebStorm.
  3. Configure to use Automatic ESLint Configuration (Languages & Frameworks -> JavaScript -> Code Quality Tools -> ESLint)
  4. Probably restart IDEA/WebStorm

Expected behavior ESLint rule violations are visible in the normal way.

Environment:

  • OS: macOS 10.16
  • @graphql-eslint/...:0.8.0
  • NodeJS: tried with v10.24.0 and 12.21.0

Details from about screen: IntelliJ IDEA 2020.3.2 (Ultimate Edition) Build #IU-203.7148.57, built on January 25, 2021 Licensed to Indeed / Mike Cohen Subscription is active until November 5, 2021. Runtime version: 11.0.9.1+11-b1145.77 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 10.16 GC: ParNew, ConcurrentMarkSweep Memory: 1979M Cores: 12

Additional context When running eslint at the terminal all works fine. e.g. in the sample project npm run lint. Rule violations are found and printed out in the normal way.

I noticed that the README suggests that this should work in WebStorm: “Integrates and visualizes lint issues in popular IDEs (VSCode / WebStorm)” ​

I logged a bug with IntelliJ here: https://youtrack.jetbrains.com/issue/WEB-49805

A support rep responded indicating that they are able to reproduce the problem I saw.

WebStorm has a new feature in EAP that allows you to specify a glob to determine which files ESLint should be run against. I tried using this but saw the same results (see the IntelliJ ticket for the version and a download link).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
mcohen75commented, Jun 30, 2021

It looks as though this has been fixed in the latest IntelliJ IDEA EAP build. 2021.2 EAP build 212.4535.15, released June 29, 2021. I tested this with an ESLint plugin we created internally here at Indeed that is based on this plugin. I also confirmed that the example projects in the examples folder work.

2reactions
B2o5Tcommented, Sep 21, 2021

I confirm that this was fixed. I use WebStorm 2021.2.1

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

ESLint | IntelliJ IDEA Documentation - JetBrains
IntelliJ IDEA integrates with ESLint which brings a wide range of linting rules that can also be extended with plugins. IntelliJ IDEA shows ......
Read more >
ES Lint in Webstorm is not applying rules from the config files
I tried opening the same file using vscode, which then opens the same file to immediately show a whole load of linting warnings...
Read more >
JavaScript linters | IntelliJ IDEA Documentation - JetBrains
IntelliJ IDEA integrates with ESLint and other most popular JavaScript code linters that detect problems in your code without executing it.
Read more >
Markdown | IntelliJ IDEA Documentation - JetBrains
Markdown is a lightweight markup language for adding formatting elements to plain text. IntelliJ IDEA recognizes Markdown files, provides a ...
Read more >
Webstorm doesn't apply ESLint – IDEs Support (IntelliJ Platform)
Hey there, somehow Webstorm doesn't apply ESLint rules anymore. I'm not sure if I'm missing any configuration or if it's just the IDE......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found