forked from Zettlr/Zettlr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
36 lines (36 loc) · 1.11 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
{
"compilerOptions": {
"target": "ES2019",
"allowJs": true,
"module": "commonjs",
"skipLibCheck": true,
"esModuleInterop": true,
"strict": true,
"jsx": "preserve", // Necessary for volar to lint Vue template sections
// Do not enforce strict property initialization. This allows us to init
// states in classes by calling an init-function rather than doing it
// manually, which is helpful for classes in which we need to reset the
// state sometimes, so we can save some code.
"strictPropertyInitialization": false,
"noImplicitAny": true,
"sourceMap": true,
"outDir": "dist",
"moduleResolution": "node",
"resolveJsonModule": true,
"downlevelIteration": true,
"baseUrl": ".",
"paths": {
"source/*": ["source/*"],
"@common/*": ["source/common/*"],
"@providers/*": ["source/app/service-providers/*"],
"@dts/*": ["source/types/*"]
}
},
"include": [
// The source files need to be compiled and linted; as do the test files.
"source/**/*", "test/**/*"
],
"ts-node": {
"require": ["tsconfig-paths/register"]
}
}