Skip to content

Conversation

eps1lon
Copy link
Collaborator

@eps1lon eps1lon commented Sep 29, 2025

We always hardcoded a pattern for yarn lint matching the whole monorepo. This is slow when working on linting infra where yarn linc (i.e. just running on changed files) might not include a specific override.

Now you can run e.g. yarn lint packages/react-devtools-* to lint just devtools packages. This is matching how the ESLint CLI works by default. yarn lint will still lint everything.

@meta-cla meta-cla bot added the CLA Signed label Sep 29, 2025
@eps1lon eps1lon force-pushed the sebbie/09-29-allow_running_yarn_lint_on_subset_of_paths branch from 522c0f0 to 08274b1 Compare September 29, 2025 09:38
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Sep 29, 2025
@react-sizebot
Copy link

Comparing: dce1f6c...08274b1

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.68 kB 6.68 kB +0.11% 1.83 kB 1.83 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 536.10 kB 536.10 kB = 94.79 kB 94.79 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB +0.11% 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 663.69 kB 663.69 kB = 117.00 kB 117.00 kB
facebook-www/ReactDOM-prod.classic.js = 687.59 kB 687.59 kB = 121.04 kB 121.04 kB
facebook-www/ReactDOM-prod.modern.js = 678.02 kB 678.02 kB = 119.39 kB 119.39 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 08274b1

@eps1lon eps1lon requested a review from hoxyq September 29, 2025 09:42
@eps1lon eps1lon marked this pull request as ready for review September 29, 2025 09:43
@eps1lon eps1lon merged commit e6f2a8a into facebook:main Sep 30, 2025
244 checks passed
@eps1lon eps1lon deleted the sebbie/09-29-allow_running_yarn_lint_on_subset_of_paths branch September 30, 2025 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants