How to exclude node_modules from WebStorm code analysis (named 'Problems' on the bottom-left corner)

Viewed 34

I am relying on this extensively on my workflow, but for some reasons this feature is now warning me of all the problems coming from node_modules, which obviously I'm not interested in.

enter image description here

How can I make WebStorm analyse my whole project problems without the nodes_modules folder?

1 Answers

For me, node modules are excluded by default, but here's a useful tip when you don't want a directory to show up in JetBrains IDE's (WebStorm,PHP Storm,...):

Right click on your node_modules folder and select Mark Directory as > Excluded

Image

Related