Project-Wide Analysis: how to keep it from analyzing node_modules folder
Answered
IntelliJ Ultimate 2023.2
The IDE randomly analyze some files inside node_modules folder and throw out errors. How do I make that folder to be ignored by the analysis mechanism.
Please sign in to leave a comment.
Please try adding
to tsconfig.json as suggested in https://youtrack.jetbrains.com/issue/WEB-44233/Feature-add-filter-for-typescript-show-project-error#focus=Comments-27-6677423.0-0 - does it help?
Unfortunately no. My project uses jsconfig.json and I also create tsconfig.json and add
to both files but it does not work. You can see in the attached YouTrack issue and the related StackOverflow topic, this is not a one-size-fits-all solution. Some applied it and worked, some did not.