Update to Next.js 16 and enhance ESLint configuration

- Migrated from Next.js 15 to Next.js 16, updating all related dependencies and configurations.
- Enhanced ESLint setup with stricter rules, expanded plugin support, and improved type-aware linting options.
- Archived middleware by renaming it to `middleware.disabled.ts` for potential future use.
This commit is contained in:
Felipe Cardoso
2025-11-20 12:49:45 +01:00
parent 444d495f83
commit 5a21847382
7 changed files with 277 additions and 148 deletions

View File

@@ -15,14 +15,9 @@ const nextConfig: NextConfig = {
},
];
},
// ESLint configuration
eslint: {
ignoreDuringBuilds: false,
dirs: ['src'],
},
// Production optimizations
reactStrictMode: true,
// Note: swcMinify is default in Next.js 15
// Note: SWC minification is default in Next.js 16
};
// Wrap config with next-intl plugin