Remove deprecated eslint config from next.config.js
**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
This commit is contained in:
parent
dbe4dba70f
commit
015117686b
@ -1,11 +1,8 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
eslint: {
|
||||
// Désactiver ESLint lors du build pour permettre le déploiement
|
||||
// Les erreurs doivent être corrigées mais n'empêchent pas le build
|
||||
ignoreDuringBuilds: 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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user