forked from flyteorg/flyteconsole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
65 lines (59 loc) · 2.21 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
{
"compilerOptions": {
"lib": ["dom", "dom.iterable", "es6", "es2021"],
"jsx": "react",
"target": "esnext",
"module": "commonjs",
"moduleResolution": "node",
"allowJs": false,
"allowUnreachableCode": false,
"esModuleInterop": true,
"strict": true,
"checkJs": false,
"isolatedModules": true,
"declaration": true,
"declarationMap": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"importHelpers": true,
"useDefineForClassFields": true,
"useUnknownInCatchVariables": false,
"resolveJsonModule": true,
"experimentalDecorators": true,
"skipLibCheck": true,
// More strict
// "exactOptionalPropertyTypes": true, - too strict? - https://www.typescriptlang.org/tsconfig#exactOptionalPropertyTypes
"noUncheckedIndexedAccess": false,
"noFallthroughCasesInSwitch": true,
"noPropertyAccessFromIndexSignature": false,
"noImplicitOverride": true,
"sourceMap": true,
"composite": true,
"baseUrl": ".",
"allowSyntheticDefaultImports": true,
"emitDecoratorMetadata": true,
"forceConsistentCasingInFileNames": false,
"paths": {
"@clients/common": ["./packages/common/src"],
"@clients/common/*": ["./packages/common/src/*"],
"@clients/flyte-api": ["./packages/flyte-api/src"],
"@clients/flyte-api/*": ["./packages/flyte-api/src/*"],
"@clients/locale": ["./packages/locale/src"],
"@clients/locale/*": ["./packages/locale/src/*"],
"@clients/oss-console": ["./packages/oss-console/src"],
"@clients/oss-console/*": ["./packages/oss-console/src/*"],
"@clients/primitives": ["./packages/primitives/src"],
"@clients/primitives/*": ["./packages/primitives/src/*"],
"@clients/theme": ["./packages/theme/src"],
"@clients/theme/*": ["./packages/theme/src/*"],
"@clients/ui-atoms": ["./packages/ui-atoms/src"],
"@clients/ui-atoms/*": ["./packages/ui-atoms/src/*"]
},
"types": ["react", "node", "jest", "@testing-library/jest-dom"]
},
"include": ["./packages/*/src", "./website/*/src"],
"exclude": ["**/node_modules", "**/dist", "**/lib", "**/build"]
}