-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
35 lines (32 loc) · 1.19 KB
/
tsconfig.json
File metadata and controls
35 lines (32 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"include": [
"benchmarks/**/*.ts", // For functionality tests
"harness/**/*"
],
"exclude": ["node_modules", "dist", "benchmarks/**/premade-pre-refactor/**"],
"compilerOptions": {
//========== Target and module ==========
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "bundler", // We use tsdown -- see tsdown.config.ts
"skipLibCheck": true,
"noUncheckedSideEffectImports": true,
"resolveJsonModule": true,
//========== Type checking ==========
"strict": true,
"forceConsistentCasingInFileNames": true,
"exactOptionalPropertyTypes": false, // ambivalent; setting to false mostly for stylistic / ergo reasons
"allowUnreachableCode": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitReturns": true,
"noImplicitOverride": true,
"noFallthroughCasesInSwitch": true,
// may want noPropertyAccessFromIndexSignature and noUncheckedIndexedAccess in the future
//========== Emitted files ==========
"allowImportingTsExtensions": true,
//========== Emitted files ==========
// Using tsc only for type-checking
"noEmit": true // hence no need to specify rootDir or outDir
}
}