From 0db9c08a8dcfdd9fc37c247b198918557d0bd12b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E6=9E=9C=E5=B1=B1=E5=A4=A7=E5=9C=A3?= <316783812@qq.com> Date: Mon, 17 Oct 2022 22:32:20 +0800 Subject: [PATCH] chore: add eslint cache (#5101) --- .gitignore | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a6fb80905620..8ce8095bcad4 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ scripts/memory/project/src/pages/ *.log package-lock.json .turbo/ +.eslintcache # ignore top-level vscode settings /.vscode/settings.json diff --git a/package.json b/package.json index 57007bd93eef..ded8ac077978 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "test:e2e": "cd packages/astro && pnpm playwright install && pnpm run test:e2e", "test:e2e:match": "cd packages/astro && pnpm playwright install && pnpm run test:e2e:match", "benchmark": "pnpm --filter @benchmark/simple run build && pnpm dlx concurrently -k -s first --raw \"node packages/astro/test/benchmark/simple/server.mjs\" \"pnpm dlx autocannon -c 100 -d 30 -p 10 localhost:3002/\"", - "lint": "eslint .", + "lint": "eslint --cache .", "version": "changeset version && pnpm install --no-frozen-lockfile && pnpm run format" }, "workspaces": [