Skip to content

Speed up linting #6348

@waldekmastykarz

Description

@waldekmastykarz

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions