**Motivations:** - Fix Next.js 16.1.1 warning about unsupported eslint configuration - Remove deprecated eslint option from next.config.js **Root causes:** - Next.js 16+ no longer supports eslint configuration in next.config.js - The eslint option has been moved to command-line options or .eslintrc.json **Correctifs:** - Removed eslint configuration block from next.config.js - Added comment explaining the change and alternatives **Evolutions:** - None **Pages affectées:** - next.config.js
13 lines
399 B
JavaScript
13 lines
399 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
// Note: eslint configuration in next.config.js is no longer supported in Next.js 16+
|
|
// Use 'next lint --ignore-build-errors' or configure in .eslintrc.json instead
|
|
typescript: {
|
|
// Désactiver la vérification TypeScript lors du build
|
|
ignoreBuildErrors: true,
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|