-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
70 lines (70 loc) · 1.45 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
{
"references": [
// TODO: enable once every project is ts
// { "path": "./packages/api" },
// { "path": "./packages/desktop-client" }
],
"compilerOptions": {
// "composite": true,
"target": "ES2022",
"lib": [
"ES2022",
"DOM",
"DOM.Iterable"
],
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"resolveJsonModule": true,
"downlevelIteration": true,
// TODO: enable once every file is ts
// "strict": true,
"strictFunctionTypes": true,
"noFallthroughCasesInSwitch": true,
"skipLibCheck": true,
"jsx": "preserve",
"types": [
"vite/client",
"jest"
],
// Check JS files too
"allowJs": true,
"checkJs": false,
// Used for temp builds
"outDir": "build",
"moduleResolution": "Node10",
"module": "ES2022",
// Until/if we build using tsc
"noEmit": true,
"paths": {
// until we turn on composite/references
"loot-core/*": [
"./packages/loot-core/src/*"
],
},
"plugins": [
{
"name": "typescript-strict-plugin",
"path": [
"./packages"
]
}
]
},
"include": [
"packages/**/*"
],
"exclude": [
"node_modules",
"**/node_modules/*",
"**/build/*",
"**/client-build/*",
"**/dist/*",
"**/lib-dist/*"
],
"ts-node": {
"compilerOptions": {
"module": "CommonJS"
}
}
}