Skip to content

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

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#11
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

= 18: without the pin it flags our two forwardRef components, advice
our consumers on 18 cannot take.

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
>= 18: without the pin it flags our two forwardRef components, advice
our consumers on 18 cannot take.

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.
@microbit-matt-hillsdon
microbit-matt-hillsdon merged commit 39365e3 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