build: give linting more memory (#55265)

This commit is contained in:
Oliver Eyton-Williams
2024-06-21 18:40:31 +02:00
committed by GitHub
parent f6e50ac7b9
commit e80dd98e91
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
npx lint-staged
NODE_OPTIONS=\"--max-old-space-size=7168\" npx lint-staged

View File

@@ -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",