Skip to content

Commit a3324fc

Browse files
committed
fix: ignore node_modules even if not in gitignore
1 parent 2ab02c6 commit a3324fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/typescript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ async function disableProjectBasedRules() {
1717
}
1818
return entry.glob
1919
})
20-
ignore.push("./**/.git/**")
20+
ignore.push("./**/.git/**", "./**/node_modules/**")
2121

2222
// check if there are any ts files
2323
const hasTsFile = findOneFile(process.cwd(), tsFiles, ignore)

0 commit comments

Comments
 (0)