Enable caching for ESLint and Prettier
On my system, with up-to-date caches, this reduces the duration of `yarn lint` from ~10s to ~1.5s and `yarn format` from ~7s to ~1.4s. See https://prettier.io/docs/en/cli.html#--cache and https://eslint.org/docs/latest/user-guide/command-line-interface#caching.
Showing
Please register or sign in to comment