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.
This commit is contained in:
2026-06-14 20:31:05 +07:00
parent 45a6416d27
commit 9833ce23ce
+1 -1
View File
@@ -19,7 +19,7 @@
"start:debug": "nest start --debug --watch", "start:debug": "nest start --debug --watch",
"start:prod": "node dist/main", "start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "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": "jest --config jest.config.js --forceExit --testPathIgnorePatterns=tests/performance",
"test:debug-handles": "jest --config jest.config.js --detectOpenHandles", "test:debug-handles": "jest --config jest.config.js --detectOpenHandles",
"test:watch": "jest --config jest.config.js --watch", "test:watch": "jest --config jest.config.js --watch",