From 5f53963a3220444ff6a809cc515dab2e71db6f11 Mon Sep 17 00:00:00 2001 From: Jacob Lee Date: Mon, 16 Oct 2023 14:20:24 -0700 Subject: [PATCH] Add more memory to linter (#2934) --- langchain/package.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/langchain/package.json b/langchain/package.json index a5fe2d503ed8..bddf00193a98 100644 --- a/langchain/package.json +++ b/langchain/package.json @@ -701,7 +701,7 @@ "build:esm": "tsc --outDir dist/ && rimraf dist/tests dist/**/tests", "build:cjs": "tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rimraf dist-cjs", "build:watch": "node scripts/create-entrypoints.js && tsc --outDir dist/ --watch", - "lint": "eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts", + "lint": "NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts", "lint:fix": "yarn lint --fix", "precommit": "lint-staged", "clean": "rimraf dist/ && node scripts/create-entrypoints.js pre", diff --git a/package.json b/package.json index 8dd5f2445016..0771a6178c93 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "build": "turbo run build --filter=\"!docs_skeleton\" --filter=\"!test-exports-*\"", "format": "turbo run format", "format:check": "turbo run format:check", - "lint": "turbo run lint --filter=\"!docs_skeleton\"", + "lint": "turbo run lint --filter=\"!docs_skeleton\" --concurrency 1", "lint:fix": "yarn lint -- --fix", "test": "yarn test:unit && yarn workspace langchain build && yarn test:exports:docker", "test:unit": "turbo run test --filter langchain",