ci(front): speedup linting with eslint by using cache

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2503>
This commit is contained in:
Kasper Seweryn 2023-06-19 23:24:49 +02:00
commit f0693c7d4f
3 changed files with 7 additions and 1 deletions

View file

@ -11,7 +11,7 @@
"serve": "vite preview",
"test": "vitest run",
"test:unit": "vitest run --coverage",
"lint": "eslint --ext .ts,.js,.vue,.json,.html src test public/embed.html",
"lint": "eslint --cache --cache-strategy content --ext .ts,.js,.vue,.json,.html src test public/embed.html",
"lint:tsc": "vue-tsc --noEmit",
"fix-fomantic-css": "scripts/fix-fomantic-css.sh",
"postinstall": "yarn run fix-fomantic-css"