Skip to content

Conversation

@snowystinger
Copy link
Member

@snowystinger snowystinger commented Oct 22, 2024

Closes

Was going to write my own caching, then noticed that someone had made a PR for it azz/eslint-plugin-monorepo#29
I started by adapting the patch, then remembered they'd published my earlier code changes and they also did this one.

It speeds up how long it takes eslint to run for us by ~34s, which is ~50% faster.
Screenshot 2024-10-22 at 9 54 04 pm
Screenshot 2024-10-22 at 9 58 01 pm

Unfortunately it doesn't speed up CircleCI since we run other tasks in parallel with it that are the blockers for this. But it's much less painful locally.

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

@rspbot
Copy link

rspbot commented Oct 22, 2024

@rspbot
Copy link

rspbot commented Oct 22, 2024

@snowystinger snowystinger changed the title fix: eslint speed up chore: eslint speed up Oct 22, 2024
@snowystinger snowystinger added this pull request to the merge queue Oct 23, 2024
Merged via the queue into main with commit cbac9c0 Oct 23, 2024
33 checks passed
@snowystinger snowystinger deleted the speed-up-eslint branch October 23, 2024 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants