forked from syntaxbullet/AuroraBot-discord
56 lines
1.1 KiB
JSON
56 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
// Environment setup & latest features
|
|
"lib": [
|
|
"ESNext"
|
|
],
|
|
"target": "ESNext",
|
|
"module": "Preserve",
|
|
"moduleDetection": "force",
|
|
"jsx": "react-jsx",
|
|
"allowJs": true,
|
|
// Bundler mode
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"noEmit": true,
|
|
// Best practices
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
// Some stricter flags (disabled by default)
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
// Aliases
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": [
|
|
"./bot/*"
|
|
],
|
|
"@commands/*": [
|
|
"./bot/commands/*"
|
|
],
|
|
"@db/*": [
|
|
"./shared/db/*"
|
|
],
|
|
"@lib/*": [
|
|
"./bot/lib/*"
|
|
],
|
|
"@modules/*": [
|
|
"./bot/modules/*"
|
|
],
|
|
"@shared/*": [
|
|
"./shared/*"
|
|
]
|
|
}
|
|
},
|
|
"exclude": [
|
|
"node_modules",
|
|
"web",
|
|
"dist",
|
|
"drizzle"
|
|
]
|
|
} |