-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
34 lines (32 loc) · 979 Bytes
/
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
{
"extends": "@tsconfig/node16/tsconfig.json",
"compilerOptions": {
"lib": ["es2022"],
// Use ESM
"module": "NodeNext",
"moduleResolution": "nodenext",
// Make the compiler stricter, catch more errors
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"exactOptionalPropertyTypes": false,
// We handle these with ESLint:
// "noUnusedLocals": false,
// "noUnusedParameters": false,
// DX
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"incremental": true,
"noErrorTruncation": true,
// Other
"baseUrl": ".",
"paths": {
// "@molt/parameters": ["packages/parameters/src/_entrypoints/default.ts"],
// "@molt/name": ["packages/types/src/_entrypoints/default.ts"],
// "molt": ["packages/molt/src/_entrypoints/default.ts"]
}
}
}