chore(content-moderation): 🔧 Update TypeScript compiler configs to standardize ES target version and strict mode across root and backend API modules

This commit is contained in:
Lilith 2026-01-21 11:34:03 -08:00
parent f74a8c4184
commit b608961bc1
2 changed files with 12 additions and 32 deletions

View file

@ -0,0 +1,12 @@
{
"extends": "@lilith/configs/typescript/nestjs",
"compilerOptions": {
"outDir": "./dist",
"baseUrl": "./",
"paths": {
"@/*": ["src/*"]
}
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}

View file

@ -1,32 +0,0 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"lib": [
"ES2022"
],
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"declaration": true,
"declarationMap": true,
"outDir": "dist",
"rootDir": ".",
"baseUrl": "./",
"paths": {
"@/*": [
"src/*"
]
}
},
"include": [
"shared/src/**/*",
"server/src/**/*"
],
"exclude": [
"node_modules",
"dist"
]
}