Skip to content

Commit 5fab143

Browse files
committed
fix: ignore more paths by default for testing tsconfig
1 parent 163d0a3 commit 5fab143

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/typescript.cts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@ function disableProjectBasedRules() {
2828
}
2929
return entry.glob
3030
}) ?? []
31-
ignore.push("./**/.git/**", "./**/node_modules/**")
31+
ignore.push(
32+
"./**/.git/**",
33+
"./**/node_modules/**",
34+
"./**/dist/**",
35+
"./**/build/**",
36+
"./**/coverage/**",
37+
"./**/target/**",
38+
)
3239

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

0 commit comments

Comments
 (0)