Skip to content

Move to ESLint 10 and @microbit/eslint-config 0.2.1 - #26

Merged
microbit-matt-hillsdon merged 1 commit into
mainfrom
eslint-10
Sep 1, 2026
Merged

Move to ESLint 10 and @microbit/eslint-config 0.2.1#26
microbit-matt-hillsdon merged 1 commit into
mainfrom
eslint-10

Conversation

@microbit-matt-hillsdon

Copy link
Copy Markdown
Contributor

Pin the React version the rules key off. eslint-react follows whatever React resolves in the project, which is 19, but we publish for React

= 17.0.2: without the pin it flags our forwardRef components, our
Context.Provider and our useContext, none of which our consumers on 17 or 18 can drop.

That leaves one real finding the old plugin never reported: the frame passed key after the prop spread, which deoptimises the automatic JSX runtime. Key first. Nothing changes semantically, as a props object never carries key.

npm cannot resolve this bump in one step. The lockfile pins the old shared config with its eslint ^9.7 peer and npm tries to reconcile that rather than replace it, failing with a circular ERESOLVE. Uninstall eslint and @microbit/eslint-config first, then install the new pair.

Pin the React version the rules key off. eslint-react follows whatever
React resolves in the project, which is 19, but we publish for React
>= 17.0.2: without the pin it flags our forwardRef components, our
Context.Provider and our useContext, none of which our consumers on 17
or 18 can drop.

That leaves one real finding the old plugin never reported: the frame
passed key after the prop spread, which deoptimises the automatic JSX
runtime. Key first. Nothing changes semantically, as a props object
never carries key.

npm cannot resolve this bump in one step. The lockfile pins the old
shared config with its eslint ^9.7 peer and npm tries to reconcile that
rather than replace it, failing with a circular ERESOLVE. Uninstall
eslint and @microbit/eslint-config first, then install the new pair.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying makecode-embed with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6111749
Status: ✅  Deploy successful!
Preview URL: https://e5bd9383.makecode-embed.pages.dev
Branch Preview URL: https://eslint-10.makecode-embed.pages.dev

View logs

@microbit-matt-hillsdon
microbit-matt-hillsdon merged commit 5349fab into main Sep 1, 2026
4 checks passed
@microbit-matt-hillsdon
microbit-matt-hillsdon deleted the eslint-10 branch September 1, 2026 16:53
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.

1 participant