-
Notifications
You must be signed in to change notification settings - Fork 8
/
tsconfig.base.json
34 lines (30 loc) · 974 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
{
"compilerOptions": {
"module": "commonjs",
"moduleResolution": "node",
"target": "ES2018",
"lib": [
"ES2017",
"DOM",
"DOM.Iterable",
"ES2021.WeakRef"
// "webworker",
],
/* */
"experimentalDecorators": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"noEmit": true,
// "strict": true,
/* */
// "isolatedModules": true, // for bundlers like vite. Setting the isolatedModules flag tells TypeScript to warn you if you write certain code that can’t be correctly interpreted by a single-file transpilation process.
// "esModuleInterop": true,
// "allowImportingTsExtensions": true,
// "allowSyntheticDefaultImports": false,
/* Linting */
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true
},
"include": ["src", "typing", "node_modules/zotero-types"],
"exclude": ["build", "addon", "**/*-lintignore*", "**/*_lintignore*"]
}