Reputation: 2019
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.
How can I make WebStorm analyse my whole project problems without the nodes_modules
folder?
Upvotes: 7
Views: 2503
Reputation: 21
This is due to TSC itself reporting errors, and Project Errors within Webstorm just displays them. This is mentioned in the youtrack link below. I was able to remove all of my errors by adding the
{
"compilerOptions": {
"skipLibCheck": true
}
}
option in tsconfig.json; however we decided not to enable that option at this time because if its side effects.
https://youtrack.jetbrains.com/issue/WEB-53460/Errors-from-nodemodules-in-type-script
Upvotes: 2