forked from ioBroker/testing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
27 lines (23 loc) · 853 Bytes
/
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
// Root tsconfig to set the settings and power editor support for all TS files
{
// To update the compilation target, install a different version of @tsconfig/node... and reference it here
// https://github.com/tsconfig/bases#node-14-tsconfigjson
"extends": "@tsconfig/node14/tsconfig.json",
"compilerOptions": {
// do not compile anything, this file is just to configure type checking
// the compilation is configured in tsconfig.build.json
"noEmit": true,
// Never emit faulty JS
"noEmitOnError": true,
"outDir": "build/",
"removeComments": false,
"newLine": "lf",
// Avoid runtime imports that are unnecessary
"importsNotUsedAsValues": "error",
// Required for TS debugging, turn on if necessary
"sourceMap": false,
"inlineSourceMap": false
},
"include": ["**/*.ts"],
"exclude": ["build/**", "node_modules/**"]
}