forked from endrl/segment-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
40 lines (37 loc) · 1.17 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
{
"compilerOptions": {
"allowImportingTsExtensions": true,
"allowJs": true,
"baseUrl": ".",
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
// Needed to address https://github.com/quasarframework/app-extension-typescript/issues/36
"noEmit": true,
"resolveJsonModule": true,
"sourceMap": true,
"strict": true,
"target": "esnext",
"lib": ["esnext", "dom"],
"isolatedModules": true,
"paths": {
"src/*": ["src/*"],
"app/*": ["*"],
"components/*": ["src/components/*"],
"layouts/*": ["src/layouts/*"],
"pages/*": ["src/pages/*"],
"assets/*": ["src/assets/*"],
"boot/*": ["src/boot/*"],
"stores/*": ["src/stores/*"]
},
// Fix Volar issue https://github.com/johnsoncodehk/volar/issues/1153
"jsx": "preserve",
// Rules preventing code smells and enforcing best practices, partially overlapping with linting
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"noImplicitOverride": true,
"noUnusedLocals": true,
// Avoid cross-os errors due to inconsistent file casing
"forceConsistentCasingInFileNames": true
}
}