From 783a12b44437b0983f47f194d7a267ae67f18543 Mon Sep 17 00:00:00 2001 From: Kaloyan Danchev Date: Fri, 6 Feb 2026 09:58:47 +0200 Subject: [PATCH] Fix ESLint configuration for Docker build - Remove ignoreDuringBuilds from eslintConfig in package.json (invalid) - Add eslint.ignoreDuringBuilds to next.config.js (correct location) Co-Authored-By: Claude Opus 4.5 --- next.config.js | 3 +++ package.json | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index e4671c700..b86d798d9 100644 --- a/next.config.js +++ b/next.config.js @@ -6,6 +6,9 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({ }); module.exports = withBundleAnalyzer({ + eslint: { + ignoreDuringBuilds: true, + }, webpack: (config) => { // for dynamic loading of auth providers config.experiments = { ...config.experiments, topLevelAwait: true }; diff --git a/package.json b/package.json index 1d72a865f..bb33f9e6f 100644 --- a/package.json +++ b/package.json @@ -187,7 +187,6 @@ "importOrderSortSpecifiers": true }, "eslintConfig": { - "ignoreDuringBuilds": true, "extends": [ "next", "eslint:recommended",