From 9b48611a6162d14a1faa1adc82f234c8a7773bf3 Mon Sep 17 00:00:00 2001 From: Darian Date: Thu, 24 Sep 2026 15:26:43 +0330 Subject: [PATCH] Remove ESLint configuration from Next.js and adjust GitHub Actions to disable fast CI builds. This streamlines the build process for Docker deployments. --- .github/workflows/deploy.yml | 1 - next.config.ts | 4 ---- 2 files changed, 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 87e717b..f12705c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,7 +31,6 @@ jobs: - name: Install & build env: DISABLE_REACT_COMPILER: "1" - CI_FAST_BUILD: "1" NEXT_TELEMETRY_DISABLED: "1" run: | set -euo pipefail diff --git a/next.config.ts b/next.config.ts index 4deaab0..7297d1c 100644 --- a/next.config.ts +++ b/next.config.ts @@ -7,10 +7,6 @@ const nextConfig: NextConfig = { output: "standalone", // Babel React Compiler is heavy in Docker/CI; keep it for local `next dev`. reactCompiler: process.env.DISABLE_REACT_COMPILER !== "1", - // Skip lint during CI image builds (lint can still run in a separate job later). - eslint: { - ignoreDuringBuilds: process.env.CI_FAST_BUILD === "1", - }, experimental: { optimizePackageImports: ["lucide-react"], },