You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's see if we can speed up linting. Right now, on my M2 MBAir linting takes ~50s, which significantly impacts our builds and running the full test setup.
I had a quick look and found out, that an easy win would be to use caching with --cache --cache-strategy content so that eslint only checks modified files. A quick test showed a significant drop from ~50s to ~1s when no files modified and ~6s with one modified file. What's also great is that we can add it to our CI pipe, significantly shortening our build times.
The text was updated successfully, but these errors were encountered:
Let's see if we can speed up linting. Right now, on my M2 MBAir linting takes ~50s, which significantly impacts our builds and running the full test setup.
I had a quick look and found out, that an easy win would be to use caching with
--cache --cache-strategy content
so that eslint only checks modified files. A quick test showed a significant drop from ~50s to ~1s when no files modified and ~6s with one modified file. What's also great is that we can add it to our CI pipe, significantly shortening our build times.The text was updated successfully, but these errors were encountered: