-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
60 lines (52 loc) · 1.33 KB
/
tsconfig.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
51
52
53
54
55
56
57
58
59
60
{
"compilerOptions": {
"outDir": "./dist",
"target": "ES2019",
"module": "esnext",
"lib": [
"ESNext",
"DOM"
],
"jsx": "react",
"sourceMap": false,
"declaration": false,
"declarationMap": false,
"types": [
"node",
"@docusaurus/module-type-aliases",
"@docusaurus/plugin-content-docs",
"@docusaurus/plugin-content-pages",
"@docusaurus/theme-classic"
],
/* Strict Type-Checking Options */
"strict": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"noImplicitAny": true, // Added
"alwaysStrict": true,
/* Additional Checks */
"noUnusedLocals": false, // ensured by eslint, should not block compilation
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
/* Disabled on purpose (handled by ESLint, should not block compilation) */
"noUnusedParameters": true,
/* Module Resolution Options */
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"isolatedModules": true,
/* Advanced Options */
"resolveJsonModule": true,
"skipLibCheck": true, // @types/webpack and webpack/types.d.ts are not the same thing
/* Use tslib */
"importHelpers": true,
"noEmitHelpers": true
},
"exclude": [
"node_modules",
"dist"
]
}