mirror of
https://github.com/borbann-platform/backend-api.git
synced 2025-12-18 12:14:05 +01:00
57 lines
1.6 KiB
JSON
57 lines
1.6 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2017", // Keep target
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true, // Keep strict mode
|
|
"noEmit": true, // Next.js handles emitting
|
|
"esModuleInterop": true,
|
|
"module": "esnext", // Use esnext module system
|
|
"moduleResolution": "bundler", // Recommended for modern TS/JS
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve", // Let Next.js handle JSX transform
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
// Ensure path aliases cover the new structure
|
|
"paths": {
|
|
"@/*": ["./*"], // Base alias
|
|
"@/components/*": ["./components/*"],
|
|
"@/lib/*": ["./lib/*"],
|
|
"@/hooks/*": ["./hooks/*"],
|
|
"@/features/*": ["./features/*"],
|
|
"@/types/*": ["./types/*"],
|
|
"@/services/*": ["./services/*"],
|
|
"@/store/*": ["./store/*"]
|
|
}
|
|
},
|
|
// Update include paths
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts",
|
|
// Add specific includes if needed, but '**/*.ts/tsx' usually covers it
|
|
// "features/**/*.ts",
|
|
// "features/**/*.tsx",
|
|
// "components/**/*.ts",
|
|
// "components/**/*.tsx",
|
|
// "lib/**/*.ts",
|
|
// "hooks/**/*.ts",
|
|
// "types/**/*.ts",
|
|
// "services/**/*.ts",
|
|
// "store/**/*.ts",
|
|
"eslint.config.mjs", // Include modern ESLint config
|
|
"postcss.config.mjs" // Include modern PostCSS config
|
|
],
|
|
"exclude": [
|
|
"node_modules"
|
|
// Add other excludes if necessary
|
|
]
|
|
}
|