forked from cardosofelipe/fast-next-template
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user