I opened some js files in my ./node_modules/ directory to see how they coded some stuff in the modules I'm using. Now the entire node_modules directory is marked red (ALT+1 view on the left). Obviously I don't care about (inspection) errors in those modules!
How do I exclude them from inspections and from eslint?
I can't just set the directory as "excluded" in Settings -> Project: MyProject -> Directories because that would remove the modules from code completion too, if I understand this right.