Closed KonradHoeffner closed 8 months ago
We could use yarn lint --cache
, this will create a .eslintcache
file and future calls to eslint will only process changed files.
Sounds great!
I think easiest way is to add .eslintcache
to .gitignore
and update the lint entry in package.json
.
BTW I am not sure if this helps with your Docker setup :/
Need to update the quasar configs as well, as they do not use the ESLint cache feature and delete .eslintcache
automatically.
On an Intel Core i9-12900k,
yarn lint
takes 28 seconds, which is more time than it takes to compile a Rust release build with 294 dependencies on that machine. Can we somehow speed this up?