Run eslint with caching

This reduces the time for subsequent lints significantly.
e.g. for `package/frontend`, the first run takes ~10min.
With the cache, every subsequent run takes only a few seconds.
This commit is contained in:
4censord 2024-09-08 11:47:57 +02:00
parent 3f37db1a13
commit 0a8cb21e9b
No known key found for this signature in database
GPG key ID: C8E54F9D13822E41
9 changed files with 11 additions and 8 deletions

View file

@ -13,7 +13,7 @@
"test": "vitest --run --globals",
"test-and-coverage": "vitest --run --coverage --globals",
"typecheck": "vue-tsc --noEmit",
"eslint": "eslint --quiet \"src/**/*.{ts,vue}\"",
"eslint": "eslint --quiet \"src/**/*.{ts,vue}\" --cache",
"lint": "pnpm typecheck && pnpm eslint"
},
"dependencies": {