Skip to content

chore(config): the peer range says which eslint the config was built for - #129

Merged
aaldersondev merged 1 commit into
mainfrom
chore/config-eslint-peer
Sep 3, 2026
Merged

chore(config): the peer range says which eslint the config was built for#129
aaldersondev merged 1 commit into
mainfrom
chore/config-eslint-peer

Conversation

@aaldersondev

Copy link
Copy Markdown
Contributor

@hopper/config déclarait eslint en ^10.8.1 dans ses peerDependencies alors que les trois applications qui le consomment sont passées à ^10.9.1 avec le groupe minor (#125).

La plage restait satisfaite, donc rien ne cassait et rien n'avertissait — mais le paquet ne disait plus contre quelle version il avait été construit. C'est exactement la dérive qui était passée inaperçue lors de la majeure eslint 10 (#107), où la peer était restée en ^9.35.0 : le paquet déclarait alors ne pas savoir fonctionner avec le seul eslint installé, et personne ne l'a vu.

.npmrc porte strict-peer-dependencies=false, donc les plages de peer sont le seul endroit où cette information est écrite. Dependabot ne suit pas une peer quand il monte la dépendance elle-même, d'où la mise à jour à la main.

Vérifié en local

pnpm install --frozen-lockfile, format:check, lint (7/7, les 5 warnings react-refresh préexistants), typecheck (7/7), build (5/5), test (7/7).

🤖 Generated with Claude Code

https://claude.ai/code/session_01HiQhbiTpvjFnK7CJcJuR9m

`@hopper/config` declared `eslint` as `^10.8.1` in its peerDependencies
while the three apps that consume it had moved to `^10.9.1` (#125). The
range stayed satisfiable, so nothing broke and nothing warned — but the
package no longer said what it was actually built against, and that is
the drift that goes unnoticed until a major does break something.

`.npmrc` has `strict-peer-dependencies=false`, so peer ranges are the
only place this is ever stated. Kept in step by hand, as Dependabot does
not follow a peer range when it bumps the dependency itself.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HiQhbiTpvjFnK7CJcJuR9m
@aaldersondev
aaldersondev merged commit f6ddf8e into main Sep 3, 2026
3 checks passed
@aaldersondev
aaldersondev deleted the chore/config-eslint-peer branch September 3, 2026 09:16
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