-
Notifications
You must be signed in to change notification settings - Fork 4
/
tsconfig.json
33 lines (30 loc) · 1.08 KB
/
tsconfig.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
{
"compilerOptions": {
"target": "es2022",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"types": ["@iobroker/types"],
// Don't output anything when the build fails
"noEmitOnError": true,
"moduleResolution": "classic",
// What to output where
"outDir": "./dist/esm",
"module": "ES2020", // will be transpiled to CommonJS in the post-build step
"declaration": true,
"removeComments": false,
"sourceMap": true,
"inlineSources": true,
"inlineSourceMap": false,
// Strictness flags - check the base config before adding something here
// "importsNotUsedAsValues": "error",
"ignoreDeprecations": "5.0",
"noUnusedLocals": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"useUnknownInCatchVariables": false,
"lib": ["DOM", "es2019", "es2020.promise", "es2020.bigint", "es2020.string"]
},
"include": ["./src/**/*"],
"exclude": ["node_modules", "**/*.spec.ts"]
}