1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 04:04:16 +00:00

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
9 changed files with 11 additions and 8 deletions

View File

@@ -6,7 +6,7 @@
"typings": "./lib/src/index.d.ts",
"scripts": {
"build": "tsc -p ./",
"lint": "eslint --ext .js,.ts src",
"lint": "eslint --ext .js,.ts src --cache",
"doc": "typedoc --out ../docs ./src",
"test": "NODE_ENV=test jest -u --maxWorkers=3"
},