summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar 花果山大圣 <316783812@qq.com> 2022-10-17 22:32:20 +0800
committerGravatar GitHub <noreply@github.com> 2022-10-17 22:32:20 +0800
commit0db9c08a8dcfdd9fc37c247b198918557d0bd12b (patch)
tree2c0ceeccff30cc3acc238842be631450390fdb22
parentbf01c8bf67cf9e8fa6e772e9cde1919be1db28d8 (diff)
downloadastro-0db9c08a8dcfdd9fc37c247b198918557d0bd12b.tar.gz
astro-0db9c08a8dcfdd9fc37c247b198918557d0bd12b.tar.zst
astro-0db9c08a8dcfdd9fc37c247b198918557d0bd12b.zip
chore: add eslint cache (#5101)
Diffstat (limited to '')
-rw-r--r--.gitignore1
-rw-r--r--package.json2
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index a6fb80905..8ce8095bc 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 57007bd93..ded8ac077 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": [