-
Notifications
You must be signed in to change notification settings - Fork 3
/
tsconfig.base.json
34 lines (32 loc) · 1.06 KB
/
tsconfig.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
{
// https://github.com/tsconfig/bases/blob/141d65201924bae1c70a0a4e18d05f42fbf93a9a/bases/strictest.json
"compilerOptions": {
"strict": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"verbatimModuleSyntax": false,
"checkJs": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
//
"isolatedModules": true, // https://preconstruct.tools/guides/building-typescript-packages
"noEmit": true,
"customConditions": ["source"],
"moduleResolution": "Bundler",
"module": "ESNext"
},
"exclude": ["node_modules", ".changeset", ".github", "dist"],
"types": ["node", "vitest/importMeta"],
//
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Strictest"
}