chore: add cache for eslint

This commit is contained in:
三咲智子 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/
.vite-inspect
.netlify/
.eslintcache
public/shiki
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",
"start": "PORT=5314 node .output/server/index.mjs",
"start:https": "PORT=5314 node ./https-dev-config/local-https-server.mjs",
"lint": "eslint .",
"lint": "eslint --cache .",
"typecheck": "nuxi typecheck",
"prepare": "esno scripts/prepare.ts",
"generate": "nuxi generate",