-
Notifications
You must be signed in to change notification settings - Fork 618
/
tsconfig.build.json
71 lines (71 loc) · 2.15 KB
/
tsconfig.build.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
{
"compilerOptions": {
"target": "esnext",
"allowJs": true,
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"module": "esnext",
"lib": ["esnext", "dom", "dom.iterable"],
"resolveJsonModule": true,
"esModuleInterop": true,
"declaration": true,
"composite": true,
"noEmit": false,
"jsx": "react",
"emitDeclarationOnly": true,
"baseUrl": ".",
"paths": {},
"typeRoots": ["./typings", "./node_modules/@types", "@types/testing-library__cypress"],
"plugins": [
{
"transform": "typescript-transform-paths",
"afterDeclarations": true
}
],
"noUnusedParameters": false,
"noUnusedLocals": false,
"noImplicitUseStrict": false,
"noImplicitThis": true,
"noImplicitReturns": true,
"noImplicitAny": true,
"noUncheckedIndexedAccess": false,
"noStrictGenericChecks": false,
"noFallthroughCasesInSwitch": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitOverride": true,
"strict": true,
"noPropertyAccessFromIndexSignature": false,
"suppressImplicitAnyIndexErrors": false,
"suppressExcessPropertyErrors": false,
"keyofStringsOnly": false,
"experimentalDecorators": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
/**
* Maybe switch to true at some point? There would need to be A LOT of error handling changes.
* https://www.typescriptlang.org/tsconfig#useUnknownInCatchVariables
*/
"useUnknownInCatchVariables": false,
/**
* Setting to true will start producing TS errors that are inside libraries we use.
* https://www.typescriptlang.org/tsconfig#exactOptionalPropertyTypes
*/
"exactOptionalPropertyTypes": false
},
"exclude": [
"node_modules",
"dist",
"./scripts/**",
"**jest**",
"./packages/cli-plugin-deploy-pulumi",
"./packages/cli",
"./packages/create-webiny-project",
"./packages/cwp-template-aws/**",
"./packages/project-utils",
"./packages/tracking"
]
}