-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
85 lines (80 loc) · 2.72 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
{
"ts-node": {
// It is faster to skip typechecking. Remove if you want ts-node to do typechecking.
"transpileOnly": true
},
"compilerOptions": {
"target": "es2020",
"module": "es2020",
"jsx": "react",
"allowJs": true,
"checkJs": true,
"moduleResolution": "node",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"useDefineForClassFields": false,
// "baseUrl" should be provided if "paths" are provided
"baseUrl": ".",
// BEGIN TYPE CHECK SETTINGS
"skipLibCheck": true,
"strict": false,
"noImplicitAny": false, // covered by strict
"noImplicitThis": true, // covered by strict
"strictBindCallApply": true, // covered by strict
"strictFunctionTypes": true, // covered by strict
"useUnknownInCatchVariables": true, // covered by strict
"strictNullChecks": false, // covered by strict
// "strictPropertyInitialization": true, // covered by strict, requires strict null checks
// "exactOptionalPropertyTypes": true, - requires strictNullChecks
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": false, // Not used - fixing this requires changing APIs.
// END TYPE CHECK SETTINGS
"paths": {
"@probe.gl/bench/*": ["modules/bench/src/*"],
"@probe.gl/bench/test/*": ["modules/bench/test/*"],
"@probe.gl/env/*": ["modules/env/src/*"],
"@probe.gl/env/test/*": ["modules/env/test/*"],
"@probe.gl/log/*": ["modules/log/src/*"],
"@probe.gl/log/test/*": ["modules/log/test/*"],
"@probe.gl/seer/*": ["modules/seer/src/*"],
"@probe.gl/seer/test/*": ["modules/seer/test/*"],
"@probe.gl/stats/*": ["modules/stats/src/*"],
"@probe.gl/stats/test/*": ["modules/stats/test/*"],
"@probe.gl/stats-widget/*": ["modules/stats-widget/src/*"],
"@probe.gl/stats-widget/test/*": ["modules/stats-widget/test/*"],
"@probe.gl/test-utils/*": ["modules/test-utils/src/*"],
"@probe.gl/test-utils/test/*": ["modules/test-utils/test/*"],
"test": ["test"]
},
"plugins": [
{
"transform": "@vis.gl/ts-plugins/ts-transform-version-inline"
},
{
"transform": "@vis.gl/ts-plugins/ts-transform-append-extension",
"after": true
},
{
"transform": "@vis.gl/ts-plugins/ts-transform-append-extension",
"afterDeclarations": true
}
]
},
"include":[
"modules/**/src/**/*",
"modules/**/test/**/*",
"examples/**/*",
"test"
],
"exclude":[
"test/apps/**/*",
"node_modules",
"modules/**/dist",
"dist"
]
}