1
0
mirror of https://github.com/spacebarchat/client.git synced 2024-11-22 18:32:34 +01:00
client/tsconfig.json

47 lines
1.2 KiB
JSON
Raw Normal View History

{
"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",
"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,
"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-09-06 20:55:23 +02:00
"include": ["src", "src/custom.d.ts"],
"references": [{ "path": "./tsconfig.node.json" }]
}