story-research-zapwall/next.config.js
Nicolas Cantu 015117686b 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
2026-01-05 22:52:42 +01:00

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