-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathtsconfig.json
More file actions
36 lines (35 loc) · 1006 Bytes
/
tsconfig.json
File metadata and controls
36 lines (35 loc) · 1006 Bytes
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
{
"extends": "astro/tsconfigs/strict",
"compilerOptions": {
"strictNullChecks": true,
"noImplicitAny": false,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
// TODO: around 63 errors to clean up
// "noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"paths": {
"@utils/*": ["./src/utils/*"],
"@data/*": ["./src/data/*"],
"@components/*": ["./src/components/*"],
"@stores/*": ["./src/stores/*"],
"@sections/*": ["./src/components/sections/*"],
"@ui/*": ["./src/components/ui/*"],
"@layouts/*": ["./src/layouts/*"],
"@assets/*": ["./src/assets/*"],
"@styles/*": ["./src/styles/*"],
"@i18n/*": ["./src/i18n/*"],
"@src/*": ["./src/*"]
}
},
"plugins": [
{
"name": "@astrojs/ts-plugin"
}
]
}