diff --git a/.husky/pre-commit b/.husky/pre-commit index 2312dc587f6..e82b8d5eeff 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1 @@ -npx lint-staged +NODE_OPTIONS=\"--max-old-space-size=7168\" npx lint-staged diff --git a/package.json b/package.json index 812920bf3b7..8fa223dbb50 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "knip": "npx -y knip@1 --include files", "knip:all": "npx -y knip@1", "prelint": "pnpm run -F=client predevelop", - "lint": "npm-run-all create:shared -p lint:*", + "lint": "NODE_OPTIONS=\"--max-old-space-size=7168\" npm-run-all create:shared -p lint:*", "lint:challenges": "cd ./curriculum && pnpm run lint", "lint:js": "eslint --cache --max-warnings 0 .", "lint:ts": "tsc && tsc -p shared && tsc -p api",