-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.base.json
50 lines (46 loc) · 1.37 KB
/
tsconfig.base.json
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
46
47
48
49
50
{
"compilerOptions": {
"disableSourceOfProjectReferenceRedirect": true,
"outDir": "${configDir}/dist",
// Enable latest features
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"allowJs": false,
// Bundler mode
"moduleResolution": "bundler",
// "allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"sourceMap": false,
"composite": true,
"incremental": true,
"esModuleInterop": false,
"resolvePackageJsonImports": true,
"resolvePackageJsonExports": true,
// Best practices
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"forceConsistentCasingInFileNames": true,
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"alwaysStrict": true,
"strict": true,
// Some stricter flags (disabled by default)
"isolatedDeclarations": true,
"noImplicitAny": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strictPropertyInitialization": false,
"noImplicitOverride": false,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUncheckedIndexedAccess": false,
"noPropertyAccessFromIndexSignature": true,
"strictNullChecks": false,
"strictFunctionTypes": true,
// "strictPropertyInitialization": true,
"skipLibCheck": true
},
"files": []
}