-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
116 lines (109 loc) · 3.07 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
/* Visit https://aka.ms/tsconfig.json to read more about this file */
"compileOnSave": true,
"include": ["src/**/*"],
"exclude": [
"**/node_modules",
"**/.*",
"**/build",
"**/docs",
"**/lib",
"**/dist",
"**/reports"
],
"compilerOptions": {
/* Projects */
"incremental": true,
// "composite": true,
// "tsBuildInfoFile": "./",
// "disableSourceOfProjectReferenceRedirect": true,
// "disableSolutionSearching": true,
// "disableReferencedProjectLoad": true,
"disableSizeLimit": true,
/* Language and Environment */
"target": "esnext",
"lib": ["dom", "dom.iterable", "es5", "esnext"],
"jsx": "react-jsx",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
// "jsxFactory": "",
// "jsxFragmentFactory": "",
// "jsxImportSource": "react-jsx",
// "reactNamespace": "",
// "noLib": true,
"useDefineForClassFields": true,
/* Modules */
"module": "esnext",
// "rootDir": "./",
"moduleResolution": "node",
"baseUrl": "./",
// "rootDirs": [],
"typeRoots": ["node_modules/@types", "node_modules/@testing-library"],
"types": ["node", "jest", "react", "react-dom"],
// "allowUmdGlobalAccess": true,
"resolveJsonModule": true,
// "noResolve": true,
"plugins": [
{
"transform": "typescript-plugin-styled-components",
"type": "config",
"minify": true
}
],
/* JavaScript Support */
"allowJs": true,
// "checkJs": true,
// "maxNodeModuleJsDepth": 1,
/* Emit */
// "declaration": true,
// "declarationMap": true,
// "emitDeclarationOnly": true,
"sourceMap": true,
// "outFile": "./",
"outDir": "./dist",
"removeComments": true,
"noEmit": true,
"importHelpers": true,
// "importsNotUsedAsValues": "remove",
"downlevelIteration": true,
// "sourceRoot": "",
// "mapRoot": "",
"inlineSources": true,
// "emitBOM": true,
"newLine": "lf",
// "stripInternal": true,
"noEmitHelpers": true,
"noEmitOnError": true,
// "preserveConstEnums": true,
// "declarationDir": "./",
// "preserveValueImports": true,
/* Interop Constraints */
"isolatedModules": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"preserveSymlinks": true,
"forceConsistentCasingInFileNames": true,
/* Type Checking */
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
// "strictPropertyInitialization": true,
"noImplicitThis": true,
"useUnknownInCatchVariables": true,
"alwaysStrict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
// "exactOptionalPropertyTypes": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
// "allowUnusedLabels": true,
// "allowUnreachableCode": true,
/* Completeness */
"skipLibCheck": true
}
}