Commit 074af3f
committed
Move to ESLint 10 and @microbit/eslint-config 0.2.1
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.1 parent cea1942 commit 074af3f
3 files changed
Lines changed: 609 additions & 2480 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments