Skip to content

[eslint-plugin-react-hooks] Sync meta.version with package.json#35783

Open
Arktomson wants to merge 1 commit intofacebook:mainfrom
Arktomson:fix/issue-35722-hooks-meta-version-ssot
Open

[eslint-plugin-react-hooks] Sync meta.version with package.json#35783
Arktomson wants to merge 1 commit intofacebook:mainfrom
Arktomson:fix/issue-35722-hooks-meta-version-ssot

Conversation

@Arktomson
Copy link

Summary

This change removes the hardcoded plugin metadata version in eslint-plugin-react-hooks and sources it from package.json instead.

  • Replaced meta.version: '7.0.0' with meta.version: packageJson.version.
  • This keeps plugin metadata in sync with published package versioning and avoids manual drift.
  • Scope is intentionally minimal: one file, no behavior changes to rules/configs.

Fixes #35722

How did you test this change?

I validated the package with typecheck and test runs.

yarn workspace eslint-plugin-react-hooks typecheck
yarn workspace eslint-plugin-react-hooks test

Observed results:

  • Typecheck passed.
  • Test suite passed (4 test suites, 5082 tests).

@meta-cla meta-cla bot added the CLA Signed label Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[eslint-plugin-react-hooks] sync plugin version with package.json

1 participant