Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: Enable eslint concurrency (#14115)

Ben Bachemd872b3383e71
diff --git a/ee/package.json b/ee/package.json
index ee767d3a60..6cac7e3f2c 100644
--- a/ee/package.json
+++ b/ee/package.json
@@ -22,8 +22,8 @@
"build:check": "tsc",
"typecheck": "dotenv -e ../../.env -- tsgo --noEmit --skipLibCheck --incremental --tsBuildInfoFile .tsbuildinfo",
"dev": "tsc --watch",
- "lint": "eslint . --cache --cache-location dist/.eslintcache --max-warnings 0",
- "lint:fix": "eslint . --cache --cache-location dist/.eslintcache --fix"
+ "lint": "eslint . --cache --cache-location dist/.eslintcache --concurrency auto --max-warnings 0",
+ "lint:fix": "eslint . --cache --cache-location dist/.eslintcache --concurrency auto --fix"
},
"dependencies": {
"@langfuse/shared": "workspace:*",
diff --git a/packages/shared/package.json b/packages/shared/package.json
index fbb3017b27..06bdfe55c0 100644
--- a/packages/shared/package.json
+++ b/packages/shared/package.json
@@ -61,8 +61,8 @@
"build:check": "tsc",
"typecheck": "dotenv -e ../../.env -- tsc --noEmit --incremental --tsBuildInfoFile .tsbuildinfo",
"dev": "tsc --watch",
- "lint": "eslint . --cache --cache-location dist/.eslintcache --max-warnings 0",
- "lint:fix": "eslint . --cache --cache-location dist/.eslintcache --fix",
+ "lint": "eslint . --cache --cache-location dist/.eslintcache --concurrency auto --max-warnings 0",
+ "lint:fix": "eslint . --cache --cache-location dist/.eslintcache --concurrency auto --fix",
"test": "dotenv -e ../../.env -- vitest run",
"db:migrate": "DISABLE_ERD=false dotenv -e ../../.env -- npx prisma migrate dev",
"db:push": "DISABLE_ERD=false dotenv -e ../../.env -- npx prisma db push",
diff --git a/web/package.json b/web/package.json
index 60561f89c4..117c810919 100644
--- a/web/package.json
+++ b/web/package.json
@@ -12,8 +12,8 @@
"typecheck": "dotenv -e ../.env -- tsgo -p tsconfig.build.json --noEmit --skipLibCheck --incremental --tsBuildInfoFile .tsbuildinfo",
"dev": "dotenv -e ../.env -- next dev",
"dev:http": "dotenv -e ../.env -- next dev --experimental-https --experimental-https-key ./localhost+1-key.pem --experimental-https-cert ./localhost+1.pem",
- "lint": "dotenv -e ../.env -- eslint . --cache --cache-location .next/cache/eslint/ --max-warnings 0",
- "lint:fix": "dotenv -e ../.env -- eslint . --cache --cache-location .next/cache/eslint/ --fix",
+ "lint": "dotenv -e ../.env -- eslint . --cache --cache-location .next/cache/eslint/ --concurrency auto --max-warnings 0",
+ "lint:fix": "dotenv -e ../.env -- eslint . --cache --cache-location .next/cache/eslint/ --concurrency auto --fix",
"analyze": "dotenv -e ../.env -- next experimental-analyze",
"clean": "rm -rf node_modules",
"start": "dotenv -e ../.env -- sh -c 'NEXT_MANUAL_SIG_HANDLE=true next start'",
diff --git a/worker/package.json b/worker/package.json
index a9a4426dff..11f6f42ecf 100644
--- a/worker/package.json
+++ b/worker/package.json
@@ -21,8 +21,8 @@
"build:check": "tsc",
"typecheck": "dotenv -e ../.env -- tsgo --noEmit --skipLibCheck --incremental --tsBuildInfoFile .tsbuildinfo",
"dev": "dotenv -e ../.env -- tsx watch --clear-screen=false --include '../packages/shared/dist/*' src/index.ts",
- "lint": "eslint . --cache --cache-location dist/.eslintcache --max-warnings 0",
- "lint:fix": "eslint . --cache --cache-location dist/.eslintcache --fix",
+ "lint": "eslint . --cache --cache-location dist/.eslintcache --concurrency auto --max-warnings 0",
+ "lint:fix": "eslint . --cache --cache-location dist/.eslintcache --concurrency auto --fix",
"refill-ingestion-events": "dotenv -e ../.env -- tsx src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts",
"refill-billing-event": "dotenv -e ../.env -- tsx src/scripts/refill-billing-event.ts",
"refill-queue-event": "dotenv -e ../.env -- tsx src/scripts/refillQueueEvent/index.ts"