-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbase.json
51 lines (43 loc) · 1.39 KB
/
base.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
// -*- jsonc -*-
// Base TypeScript configuration
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
// build es2022 modules by default
"module": "es2022",
"target": "es2022",
"lib": ["es2022"],
"moduleResolution": "node",
"esModuleInterop": true,
"importHelpers": true,
// enable JS only as needed on per-project basis
"allowJs": false,
// required to support esbuild, babel, and similar transpilers
"isolatedModules": true,
// disable composite/incremental builds by default to prevent .tsbuildinfo files from being
// accidentally included in package archives
"composite": false,
"incremental": false,
// produce consistent output across all platforms
"newLine": "lf",
// allow typed JSON imports
"resolveJsonModule": true,
// produce .js.map, .d.ts and .d.ts.map files when emit is enabled
"noEmit": false,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
// recommended for faster compilation
"skipLibCheck": true,
// be as strict as possible, but no stricter
"strict": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitOverride": true,
"forceConsistentCasingInFileNames": true
}
}