From 9833ce23ce6afbd951e5efc7b3054ac43ca6f12b Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 14 Jun 2026 20:31:05 +0700 Subject: [PATCH] fix(lint): remove --max-old-space-size flag to prevent seg fault The --max-old-space-size=4096 flag causes ESLint to seg fault in CI environment. Removed the flag to use default Node.js memory settings. --- backend/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/package.json b/backend/package.json index 4fce6dc0..7bc02793 100644 --- a/backend/package.json +++ b/backend/package.json @@ -19,7 +19,7 @@ "start:debug": "nest start --debug --watch", "start:prod": "node dist/main", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", - "lint:ci": "node --max-old-space-size=4096 node_modules/eslint/bin/eslint.js \"{src,apps,libs,test}/**/*.ts\" --cache", + "lint:ci": "node_modules/eslint/bin/eslint.js \"{src,apps,libs,test}/**/*.ts\" --cache", "test": "jest --config jest.config.js --forceExit --testPathIgnorePatterns=tests/performance", "test:debug-handles": "jest --config jest.config.js --detectOpenHandles", "test:watch": "jest --config jest.config.js --watch",