-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
45 lines (39 loc) · 2.98 KB
/
tsconfig.json
File metadata and controls
45 lines (39 loc) · 2.98 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
36
37
38
39
40
41
42
43
44
45
{
// https://www.typescriptlang.org/tsconfig
"include": ["./src"],
"exclude": ["./build"],
"compilerOptions": {
// Project
"incremental": false, // https://www.typescriptlang.org/tsconfig/#incremental
"tsBuildInfoFile": "./build.never/.tsbuildinfo", // https://www.typescriptlang.org/tsconfig/#tsBuildInfoFile
// Language & Environment
"target": "ES2024", // https://www.typescriptlang.org/tsconfig/#target
"moduleDetection": "force", // https://www.typescriptlang.org/tsconfig/#rootDir
// Module
"module": "Node16", // https://www.typescriptlang.org/tsconfig/#module
"moduleResolution": "Node16", // https://www.typescriptlang.org/tsconfig/#moduleResolution
"useDefineForClassFields": true, // https://www.typescriptlang.org/tsconfig/#useDefineForClassFields
"rootDir": "./src", // https://www.typescriptlang.org/tsconfig/#rootDir
"noUncheckedSideEffectImports": true, // https://www.typescriptlang.org/tsconfig/#noUncheckedSideEffectImports
// Emit
"noEmitOnError": true, // https://www.typescriptlang.org/tsconfig/#noEmitOnError
"noEmit": true, // https://www.typescriptlang.org/tsconfig/#noEmit
"outDir": "./build.never", // https://www.typescriptlang.org/tsconfig/#outDir
"removeComments": true, // https://www.typescriptlang.org/tsconfig/#removeComments
"sourceMap": true, // https://www.typescriptlang.org/tsconfig/#sourceMap
"importHelpers": true, // https://www.typescriptlang.org/tsconfig/#importHelpers
// Type checking
"alwaysStrict": true, // https://www.typescriptlang.org/tsconfig/#alwaysStrict
"exactOptionalPropertyTypes": true, // https://www.typescriptlang.org/tsconfig/#exactOptionalPropertyTypes
"noFallthroughCasesInSwitch": true, // https://www.typescriptlang.org/tsconfig/#noFallthroughCasesInSwitch
"noImplicitOverride": true, // https://www.typescriptlang.org/tsconfig/#noImplicitOverride
"useUnknownInCatchVariables": true, // https://www.typescriptlang.org/tsconfig/#useUnknownInCatchVariables
"strict": true, // https://www.typescriptlang.org/tsconfig/#strict
// Interop constraints
"esModuleInterop": true, // https://www.typescriptlang.org/tsconfig/#esModuleInterop
"verbatimModuleSyntax": true, // https://www.typescriptlang.org/tsconfig/#verbatimModuleSyntax
"forceConsistentCasingInFileNames": true, // https://www.typescriptlang.org/tsconfig/#forceConsistentCasingInFileNames
// Completeness
"skipLibCheck": true, // https://www.typescriptlang.org/tsconfig/#skipLibCheck
}
}