AutoMod/bot/tsconfig.json

31 lines
827 B
JSON
Raw Normal View History

2021-10-08 23:36:46 +02:00
{
"compilerOptions": {
2024-07-13 13:49:06 +02:00
// Enable latest features
"lib": ["ESNext", "DOM", "DOM.Iterable"],
2024-07-13 13:49:06 +02:00
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"allowJs": true,
2024-07-13 13:49:06 +02:00
// Bundler mode
"moduleResolution": "node",
2024-07-13 13:49:06 +02:00
// Best practices
"strict": true,
"skipLibCheck": true,
"strictPropertyInitialization": false,
"noFallthroughCasesInSwitch": true,
// Some stricter flags (enabled)
"noUnusedLocals": true,
"noUnusedParameters": true,
"noPropertyAccessFromIndexSignature": true,
"declaration": true,
"declarationMap": true,
// Additional improvements
"esModuleInterop": true,
"resolveJsonModule": true,
"forceConsistentCasingInFileNames": true,
"useDefineForClassFields": true,
"rootDir": "./src",
"outDir": "./dist"
}
2021-10-08 23:36:46 +02:00
}