2023-03-20 21:41:33 +01:00
|
|
|
{
|
2023-04-10 22:51:14 +02:00
|
|
|
"compilerOptions": {
|
2023-09-01 03:02:31 +02:00
|
|
|
"target": "ES2020",
|
2023-09-06 20:55:23 +02:00
|
|
|
"useDefineForClassFields": true,
|
|
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
|
|
"module": "ESNext",
|
2023-04-10 22:51:14 +02:00
|
|
|
"skipLibCheck": true,
|
2023-09-06 20:55:23 +02:00
|
|
|
"experimentalDecorators": true,
|
|
|
|
"emitDecoratorMetadata": true,
|
2024-10-15 21:28:03 +02:00
|
|
|
"baseUrl": "./src",
|
2023-09-06 20:55:23 +02:00
|
|
|
|
|
|
|
/* Bundler mode */
|
|
|
|
"moduleResolution": "bundler",
|
|
|
|
"allowImportingTsExtensions": true,
|
2023-04-10 22:51:14 +02:00
|
|
|
"resolveJsonModule": true,
|
|
|
|
"isolatedModules": true,
|
|
|
|
"noEmit": true,
|
|
|
|
"jsx": "react-jsx",
|
2023-09-06 20:55:23 +02:00
|
|
|
|
|
|
|
/* Linting */
|
|
|
|
"strict": true,
|
|
|
|
// "noUnusedLocals": true,
|
|
|
|
// "noUnusedParameters": true,
|
2024-10-15 21:28:03 +02:00
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
|
|
|
|
/* Path aliases */
|
|
|
|
"paths": {
|
|
|
|
"@/*": ["./*"],
|
|
|
|
"@utils": ["utils/index.ts"],
|
|
|
|
"@utils/*": ["utils/*"],
|
|
|
|
"@components": ["components/index.ts"],
|
|
|
|
"@components/*": ["components/*"],
|
|
|
|
"@assets/*": ["assets/*"],
|
|
|
|
"@modals/*": ["modals/*"],
|
|
|
|
"@pages/*": ["pages/*"],
|
|
|
|
"@stores": ["stores/index.ts"],
|
|
|
|
"@stores/*": ["stores/*"],
|
|
|
|
"@hooks/*": ["hooks/*"],
|
|
|
|
"@contexts/*": ["contexts/*"],
|
|
|
|
"@structures": ["stores/objects/index.ts"],
|
|
|
|
"@structures/*": ["stores/objects/*"]
|
|
|
|
}
|
2023-04-10 22:51:14 +02:00
|
|
|
},
|
2023-09-06 20:55:23 +02:00
|
|
|
"include": ["src", "src/custom.d.ts"],
|
|
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
2023-03-20 21:41:33 +01:00
|
|
|
}
|