IntelliJ IDEA and WebStorm do not visualizes lint issues
See original GitHub issueDescribe the bug IntelliJ IDEA and WebStorm do not visualizes lint issues.
To Reproduce Steps to reproduce the behavior:
- Run
npm install
in any one of the example project directories. - Open the example project in IDEA or WebStorm.
- Configure to use Automatic ESLint Configuration (Languages & Frameworks -> JavaScript -> Code Quality Tools -> ESLint)
- 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:
- Created 3 years ago
- Reactions:4
- Comments:7 (6 by maintainers)
Top GitHub Comments
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.
I confirm that this was fixed. I use WebStorm 2021.2.1