I have a project that utilizes TypeScript and various external libraries.
I am trying to find a solution to suppress all errors and warnings for files with the extensions .js, .ts, .d.ts, etc. located within the node_modules folder and a separate folder called assets/plugins that is situated relative to the project root. I have attempted to create a .eslintignore file with the following contents:
./node_modules/*
./assets/plugins/*
as well as
./node_modules/**/*.js
./node_modules/**/*.ts
./node_modules/**/*.d.ts
./assets/plugins/**/*.js
./assets/plugins/**/*.ts
./assets/plugins/**/*.d.ts
Unfortunately, these attempts did not yield the desired results.
Just to reiterate, my goal is to silence errors and warnings only for those specific files while keeping them visible for all other files within the project.
P.S.: The errors and warnings in .ts and .js files are only visible in Visual Studio 2017; there are no errors or warnings when the project is opened in Visual Studio 2015.