From 21681a26a1c43d1677ba0d184185e67ed1895144 Mon Sep 17 00:00:00 2001 From: Till JS Date: Tue, 7 Apr 2026 13:53:33 +0200 Subject: [PATCH] chore(mana/web): raise eslint heap to 8GB to prevent OOM Type-aware linting via @typescript-eslint/projectService loads the entire TS program into memory; with 27+ modules in the unified app the default 4GB heap OOMs. Bump explicitly in the lint script. Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/mana/apps/web/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mana/apps/web/package.json b/apps/mana/apps/web/package.json index 8dd14e0a5..28152af14 100644 --- a/apps/mana/apps/web/package.json +++ b/apps/mana/apps/web/package.json @@ -10,7 +10,7 @@ "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", "format": "prettier --write .", - "lint": "prettier --check . && eslint .", + "lint": "prettier --check . && NODE_OPTIONS=--max-old-space-size=8192 eslint .", "test": "vitest", "test:ui": "vitest --ui", "test:e2e": "playwright test"