Skip to content

Commit 25c4f7b

Browse files
committed
Update TypeScript config for just type-checking
1 parent 5631f41 commit 25c4f7b

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

tsconfig.json

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
// NOTE: The TypeScript compiler is only used for building the tests (and
2-
// the sources which the tests need). The extension is built with `esbuild`.
31
{
4-
"extends": "@tsconfig/node20/tsconfig.json",
52
"compilerOptions": {
6-
"sourceMap": true,
7-
"rootDir": ".",
8-
"noFallthroughCasesInSwitch": true,
9-
"noImplicitOverride": true,
10-
"noImplicitReturns": true,
11-
"noUnusedLocals": true,
12-
"noUnusedParameters": true,
13-
"allowSyntheticDefaultImports": true,
14-
"useUnknownInCatchVariables": true
3+
"target": "ESNext",
4+
"esModuleInterop": true,
5+
"skipLibCheck": true,
6+
"allowJs": true,
7+
"checkJs": true,
8+
"resolveJsonModule": true,
9+
"moduleDetection": "force",
10+
"verbatimModuleSyntax": true,
11+
"strict": true,
12+
"noEmit": true,
13+
"module": "Preserve"
1514
},
16-
"include": [ "src", "test" ],
17-
"exclude": [ "node_modules/@ungap/structured-clone" ]
15+
"include": ["**/*.ts", "eslint.config.mjs", ".vscode-test.mjs"],
16+
"exclude": ["node_modules"]
1817
}

0 commit comments

Comments
 (0)