Repository navigation
Conversation
eslint-config-next permits eslint-plugin-react-hooks updates through ^7.0.0, so a reused or refreshed node_modules could load 7.1.1 and change React Compiler diagnostics without a source change. Pin the analyzed version directly and guard its package/lockfile alignment with a regression test.
diegosouzapw
added a commit
that referenced
this pull request
Aug 28, 2026
Recreated from #11749 (MumuTW) onto the active release/v3.8.51 — commit cherry-picked with author preserved; regression test + check:lockfile + check-file-size all green on this tip. Thanks for the fix!
Collaborator
|
Thanks for this fix! Its base (release/v3.8.50) had gone stale relative to the active |
muhamadgalihsaputra
pushed a commit
to niyatna/NiyatnaRoute
that referenced
this pull request
Sep 27, 2026
Recreated from cheaper-inference#11749 (MumuTW) onto the active release/v3.8.51 — commit cherry-picked with author preserved; regression test + check:lockfile + check-file-size all green on this tip. Thanks for the fix!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Root cause
eslint-config-next allows eslint-plugin-react-hooks through ^7.0.0. A reused or refreshed node_modules could therefore load 7.1.1 while the repository lockfile and source remained unchanged. The 7.1 analyzer changes then surfaced hundreds of React Compiler diagnostics across unrelated dashboard files.
Verification
Follow-up
Upgrade to eslint-plugin-react-hooks 7.1.1 separately as an explicit lint-policy migration rather than accepting it through transitive dependency drift.