-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.json
47 lines (39 loc) · 1.51 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
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Base",
"compilerOptions": {
"module": "node16",
"moduleResolution": "node16",
"strict": true,
"esModuleInterop": true, // Will be true anyhow because module is node16
"allowSyntheticDefaultImports": true, // Will be true anyhow because esModuleInterop is true
"skipLibCheck": false, // See https://github.com/voxpelli/tsconfig/issues/1
"types": ["node"], // Don't implicitly pull in declarations from `@types` packages
/* Clean up generated declarations */
"removeComments": true,
"stripInternal": true,
/* Make it a JS-targeted config */
"allowJs": true,
"checkJs": true,
"noEmit": true,
"resolveJsonModule": true,
/* New checks being tried out */
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUncheckedSideEffectImports": true,
/* Additional checks */
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": false, // Deactivated as I believe implicit "return undefined" at end of function is okay + explicit clashes with ESLint "no-useless-return"
"noUnusedLocals": true,
"noUnusedParameters": true
/* To make strict checking somewhat less strict during a transition stage, add one or more of: */
/*
"noImplicitThis": false,
"noImplicitAny": false,
"strictNullChecks": false,
*/
}
}