debats/tsconfig.json
Jalil Arfaoui 594992c233 feat: migration Next.js 15 → 16 (Turbopack, ESLint 9, proxy)
- Next.js 15.5.12 → 16.1.6 avec Turbopack par défaut
- ESLint 8 → 9 + migration flat config (eslint.config.mjs)
- eslint-config-next 15 → 16, eslint-config-prettier 9 → 10
- @types/node 18 → 22 (aligné avec nodejs_22 du flake.nix)
- middleware.ts → proxy.ts (nouvelle convention Next.js 16)
- global-error.tsx : import dynamique de Sentry (fix prerendering Turbopack)
- CSS : @import Google Fonts déplacé en tête de fichier (requis par Turbopack)
- .prettierignore : ajout next-env.d.ts et .clever.json (fichiers auto-générés)
2026-02-21 16:30:21 +01:00

35 lines
711 B
JSON

{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "es6"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
},
"forceConsistentCasingInFileNames": true
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": ["node_modules"]
}