Cannot get eslint to work on intellij or webstorm but works on vs code
As the title says eslint just simply doesn't work on Intellij or Webstorm on my company's angular project but it works without any problem on vs code. I have tried several things like configuring the settings to have manual detection or auto but still nothing. All I see is a small ! on the the eslint icon at the bottom and clicking on this icon just takes me to the eslint.js file in our project repo but there's no other helpful log or message there to tell me what's wrong.


Any suggestions? I'm not sure how I can see the logs for eslint.
Edit: After some more testing I have found that on a fresh clone of the repo eslint works. However I still don't know what was wrong with the other clone. I tried deleting the .idea folder inside it and also did an “Invalidate caches and restart” but nothing worked. I'm not sure if this issue is going to happen on the fresh clone later as well. If it does it is a problem having to re-clone every time because it gets rid of all my settings. And yes I still cannot see any eslint logs where it doesn't work.
Edit 2: In the old clone of the repo I even tried deleting my node_modules and reinstalled the packages to see if it fixes the issue but it didn't. Eslint just doesn't want to work there for some unknown reason. I guess I'll just work with the new clone now and hope this problem doesn't occur there.
请先登录再写评论。
Hello! I am glad to see that you found a way to make it work. If it happens again, please submit an issue in https://youtrack.jetbrains.com/issues/WEB and provide your logs (Help > Collect logs and diagnostic data). Thanks