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} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
eslint: {
|
// Note: eslint configuration in next.config.js is no longer supported in Next.js 16+
|
||||||
// Désactiver ESLint lors du build pour permettre le déploiement
|
// Use 'next lint --ignore-build-errors' or configure in .eslintrc.json instead
|
||||||
// Les erreurs doivent être corrigées mais n'empêchent pas le build
|
|
||||||
ignoreDuringBuilds: true,
|
|
||||||
},
|
|
||||||
typescript: {
|
typescript: {
|
||||||
// Désactiver la vérification TypeScript lors du build
|
// Désactiver la vérification TypeScript lors du build
|
||||||
ignoreBuildErrors: true,
|
ignoreBuildErrors: true,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user