We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4582b2 commit 07c52aeCopy full SHA for 07c52ae
src/eslint-adapter.ts
@@ -127,7 +127,7 @@ export class ESLintAdapter {
127
}
128
129
public checkFileToBeIgnored(fileName: string) {
130
- if (fileName.indexOf("node_modules/") !== -1) return;
+ if (fileName.indexOf("node_modules" + path.sep) !== -1) return;
131
if (!fileName.endsWith(".ts") && !fileName.endsWith(".tsx")) return;
132
Promise.resolve()
133
.then(() => new ESLint())
0 commit comments