You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No errors/warnings with running eslint on the project directory, but In the VSCode ESLint output I get following warning spammed after a few seconds:
[Warn - 1:02:57 AM]
No ESLint configuration (e.g .eslintrc) found for file: /snap/code/52/usr/share/code/resources/app/extensions/node_modules/typescript/lib/lib.esnext.intl.d.ts
File will not be validated. Alternatively you can disable ESLint by executing the 'Disable ESLint' command.
Are node_modules not supposed to be ignored by eslint?
I tried adding node_modules to files.exclude setting but it made no difference.
In addition to this warning I also got error notifications for missing eslint config to extend from inside a package in node_modules in my project folder, which I solved by installing the internal package that included said config.
I checked and none of these problems are present when using eslint client directly, for some reason VSCode ESLint extension is sending files found in node_modules to be checked by eslint. I think it's actually checking all files in node_modules both in the vscode installation and in my project, which is making the extension is run sluggish for me as well.
VSCode eslint: 2.1.14
Node: 15.5.1
ESLint: 7.17.0
The text was updated successfully, but these errors were encountered:
@Doeke does the validation happen correctly when you use eslint in the terminal from the workspace folder root. If this is the case can you please provide me with a GitHub repository I can clone that demos what you are experiencing.
No errors/warnings with running eslint on the project directory, but In the VSCode ESLint output I get following warning spammed after a few seconds:
[Warn - 1:02:57 AM]
No ESLint configuration (e.g .eslintrc) found for file: /snap/code/52/usr/share/code/resources/app/extensions/node_modules/typescript/lib/lib.esnext.intl.d.ts
File will not be validated. Alternatively you can disable ESLint by executing the 'Disable ESLint' command.
Are node_modules not supposed to be ignored by eslint?
I tried adding node_modules to files.exclude setting but it made no difference.
In addition to this warning I also got error notifications for missing eslint config to extend from inside a package in node_modules in my project folder, which I solved by installing the internal package that included said config.
I checked and none of these problems are present when using eslint client directly, for some reason VSCode ESLint extension is sending files found in node_modules to be checked by eslint. I think it's actually checking all files in node_modules both in the vscode installation and in my project, which is making the extension is run sluggish for me as well.
VSCode eslint: 2.1.14
Node: 15.5.1
ESLint: 7.17.0
The text was updated successfully, but these errors were encountered: