From 5f1f434f659cf942134d92b0c34ec5ac760e301d Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 8 Aug 2025 05:46:07 +0000 Subject: [PATCH] Configure ESLint and TypeScript checks based on environment variables Co-authored-by: natemkelley --- apps/web/next.config.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs index 0756e4c9c..869b46017 100644 --- a/apps/web/next.config.mjs +++ b/apps/web/next.config.mjs @@ -94,12 +94,12 @@ const nextConfig = { transpilePackages: ['shiki'], // ESLint configuration eslint: { - ignoreDuringBuilds: false, + ignoreDuringBuilds: process.env.NEXT_DISABLE_LINT === 'true' || process.env.CI === 'true', dirs: ['src'] }, // Disable TypeScript type checking during builds typescript: { - ignoreBuildErrors: false + ignoreBuildErrors: process.env.NEXT_DISABLE_TS_CHECK === 'true' }, sassOptions: { includePaths: [path.join(__dirname, 'styles')],