Skip to content

Commit 81d3a8f

Browse files
committed
chore: exclude .cache from tsconfigs
Stray writers (Node compile-cache, corepack, pnpm RC) may drop files into .cache/ at the repo root. The **/.cache/ gitignore prevents those from being tracked, but tsc would otherwise still try to type-check them. Sorted excludes alphabetically.
1 parent 5993a48 commit 81d3a8f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.config/tsconfig.check.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
"verbatimModuleSyntax": false
1414
},
1515
"include": ["../src/**/*.ts", "../test/**/*.mts"],
16-
"exclude": ["**/node_modules/**/*"]
16+
"exclude": ["**/.cache/**", "**/node_modules/**/*"]
1717
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
"verbatimModuleSyntax": false
1515
},
1616
"include": ["src/**/*.ts"],
17-
"exclude": ["node_modules", "dist", "coverage", "test"]
17+
"exclude": [".cache", "coverage", "dist", "node_modules", "test"]
1818
}

0 commit comments

Comments
 (0)