-
Notifications
You must be signed in to change notification settings - Fork 4
/
tsconfig.json
63 lines (63 loc) · 1.34 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
61
62
63
{
"compilerOptions": {
"outDir": "build",
"target": "es5",
"module": "esnext",
"moduleResolution": "node",
"jsx": "react-jsx",
// optimised
"removeComments": true,
// non-strict rules
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitAny": false,
"allowUnreachableCode": true,
"alwaysStrict": false,
"strict": false,
// strict rules
"suppressImplicitAnyIndexErrors": true,
"noImplicitReturns": false,
"noImplicitThis": true,
// other
"isolatedModules": true,
"allowJs": true,
"checkJs": false,
"skipLibCheck": true,
"sourceMap": false,
"resolveJsonModule": true,
// good pratice
"allowSyntheticDefaultImports": true,
"declaration": true,
"declarationMap": true,
"esModuleInterop": true,
"importHelpers": true,
// "paths": {
// "@jd/common/*": ["packages/common/src/*"],
// },
"lib": [
"dom",
"dom.iterable",
"esnext"
],
},
"typeRoots": [
"node_modules/@types",
],
"exclude": [
"node_modules",
"**/node_modules",
"build",
"**/build",
"dist",
"**/dist",
"scripts",
"jest",
"__tests__",
"**/__tests__",
"__jest__",
"**/__jest__",
"config/*"
]
}