Repository navigation
Commit 0c158ab
Group the ESLint packages so peer-locked majors update together
The standalone eslint 10 bump Dependabot opened (#89) cannot install.
eslint-config-next@15.5.4 peer-requires
eslint@"^7.23.0 || ^8.0.0 || ^9.0.0", so raising eslint on its own
fails with ERESOLVE on both CI jobs:
Could not resolve dependency:
peer eslint@"^7.23.0 || ^8.0.0 || ^9.0.0" from eslint-config-next@15.5.4
Conflicting peer dependency: eslint@9.39.5
eslint-config-next@16 relaxes that peer to eslint@">=9.0.0", so the two
have to move in the same PR to be installable. Rebasing #89 cannot fix
this; the conflict is in the peer range, not in the branch.
This adds an `eslint` group covering eslint, eslint-config-next and
@next/eslint-plugin-next, with all update types including major, so
Dependabot proposes them as a single installable PR. The group is listed
before the existing catch-all `npm-minor-and-patch` group so it claims
these packages first.
Grouping majors is deliberate here and is not the pattern for the rest
of the tree: majors normally warrant individual review, which the
catch-all group preserves by matching only minor and patch. These three
packages are the exception because their peer ranges make an individual
bump uninstallable by construction.
Once this merges, #89 can be closed; Dependabot will re-raise the
upgrade as a combined PR on its next run.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WWCBtvyCpxc2aqtyLDhDeE1 parent bfafe29 commit 0c158ab
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
23 | 40 | | |
24 | 41 | | |
25 | 42 | | |
| |||
0 commit comments