-
Notifications
You must be signed in to change notification settings - Fork 4
/
base.json
39 lines (33 loc) · 1001 Bytes
/
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
{
"compilerOptions": {
// use import/export and legacy node resolution logic
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
// Bundler compatibility
"jsx": "preserve",
"verbatimModuleSyntax": true,
// Interoperability with CommonJS modules
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
// JS support
"allowJs": true,
"checkJs": true,
// Do not automatically use types in node_modules to prevent conflicts
"types": [],
// Do not error out for errors in third-party modules
"skipLibCheck": true,
// Type-checking options
"strict": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true
}
}