1
0
mirror of https://github.com/spacebarchat/client.git synced 2024-11-22 02:12:38 +01:00
client/tsconfig.json
2024-10-15 15:35:18 -04:00

47 lines
1.2 KiB
JSON

{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"baseUrl": "./src",
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
/* Linting */
"strict": true,
// "noUnusedLocals": true,
// "noUnusedParameters": true,
"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/*"]
}
},
"include": ["src", "src/custom.d.ts"],
"references": [{ "path": "./tsconfig.node.json" }]
}