chore: add cache for eslint

zio/stable
三咲智子 2023-01-07 02:48:32 +08:00
parent e0741d58a9
commit e2dc90a889
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -8,6 +8,7 @@ dist
.idea/ .idea/
.vite-inspect .vite-inspect
.netlify/ .netlify/
.eslintcache
public/shiki public/shiki
public/emojis public/emojis

View File

@ -14,7 +14,7 @@
"dev:mocked:pwa:ssl": "VITE_DEV_PWA=true nuxi dev --port 5314 --https --ssl-cert ./https-dev-config/localhost.crt --ssl-key ./https-dev-config/localhost.key --dotenv .env.mock", "dev:mocked:pwa:ssl": "VITE_DEV_PWA=true nuxi dev --port 5314 --https --ssl-cert ./https-dev-config/localhost.crt --ssl-key ./https-dev-config/localhost.key --dotenv .env.mock",
"start": "PORT=5314 node .output/server/index.mjs", "start": "PORT=5314 node .output/server/index.mjs",
"start:https": "PORT=5314 node ./https-dev-config/local-https-server.mjs", "start:https": "PORT=5314 node ./https-dev-config/local-https-server.mjs",
"lint": "eslint .", "lint": "eslint --cache .",
"typecheck": "nuxi typecheck", "typecheck": "nuxi typecheck",
"prepare": "esno scripts/prepare.ts", "prepare": "esno scripts/prepare.ts",
"generate": "nuxi generate", "generate": "nuxi generate",