forked from nuxt/nuxt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
49 lines (49 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
37
38
39
40
41
42
43
44
45
46
47
48
49
{
// https://www.totaltypescript.com/tsconfig-cheat-sheet
"compilerOptions": {
/* Base options: */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
"verbatimModuleSyntax": true,
/* Strictness */
"strict": true,
// TODO: enable noUncheckedIndexedAccess
// "noUncheckedIndexedAccess": true,
"forceConsistentCasingInFileNames": true,
"noImplicitOverride": true,
/* If NOT transpiling with TypeScript: */
"module": "preserve",
"noEmit": true,
/* If your code runs in the DOM: */
"lib": [
"es2022",
"webworker",
"dom",
"dom.iterable"
],
"paths": {
"#app": [
"./packages/nuxt/src/app/index"
],
"#app/*": [
"./packages/nuxt/src/app/*"
]
}
},
"exclude": [
"**/dist/**",
"**/.nuxt/**",
"**/nuxt.d.ts",
"**/examples/**",
"**/docs/**",
"**/playground/**",
"**/test/nuxt/**",
"**/test/fixtures/**",
"**/test/fixtures-temp/**"
]
}