-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.base.json
38 lines (28 loc) · 975 Bytes
/
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
35
36
37
38
{
"extends": "@tsconfig/node20",
"compilerOptions": {
/* Reasonable default base options: */
// No emitting by default.
"noEmit": true,
// Of course, this is common practice in Node but also part of ES standards.
// todo: is there a way to enforce "with type"?
"resolveJsonModule": true,
// ESM-first please, yes.
"esModuleInterop": true,
"moduleDetection": "force",
// Of course, we don't want to check libraries. We shouldn't in any case.
"skipLibCheck": true,
// Well yes of course, should be compatible, right?
"allowJs": true,
"isolatedModules": true,
// Well, yes, good idea.
"verbatimModuleSyntax": true,
// Of course, we want strictness. Why is this not the default?
"strict": true,
// What, is this no included in strictness?
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
// Allow "Deno"-style imports
"allowImportingTsExtensions": true,
}
}