-
Notifications
You must be signed in to change notification settings - Fork 5
/
tsconfig.json
49 lines (42 loc) · 1.62 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// 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-18-tsconfigjson
"extends": "@tsconfig/node20/tsconfig.json",
"compilerOptions": {
"baseUrl": ".", // Dies muss gesetzt sein!
"paths": {
"@components/*": ["admin/src/components/*"],
"@/*": ["admin/src/*"]
},
// do not compile anything, this file is just to configure type checking
// the compilation is configured in tsconfig.build.json
"noEmit": true,
// check JS files, but do not compile them => tsconfig.build.json
"allowJs": true,
"checkJs": true,
"noEmitOnError": true,
"outDir": "./build/",
"removeComments": false,
// This is necessary for the automatic typing of the adapter config
"resolveJsonModule": true,
// If you want to disable the stricter type checks (not recommended), uncomment the following line
"strict": true,
// And enable some of those features for more fine-grained control
"strictNullChecks": true,
// "strictPropertyInitialization": true,
// "strictBindCallApply": true,
"noImplicitAny": true,
// "noUnusedLocals": true,
// "noUnusedParameters": true,
// Uncomment this if you want the old behavior of catch variables being `any`
// "useUnknownInCatchVariables": false,
"noImplicitThis": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"sourceMap": true,
"inlineSourceMap": false
},
"include": ["src/**/*.ts", "test/**/*.js", "./.eslintrc.js"],
"exclude": ["build/**", "node_modules/**", "widgets/**"]
}