Skip to content

build: stop declaring eslint-plugin-react-hooks directly - #830

Merged
cigamit merged 1 commit into
ctrliq:mainfrom
blaipr:build/drop-eslint-plugin-react-hooks
Sep 7, 2026
Merged

cigamit merged 1 commit into
ctrliq:mainfrom
blaipr:build/drop-eslint-plugin-react-hooks

Conversation

@blaipr

@blaipr blaipr commented Sep 6, 2026

Copy link
Copy Markdown
Contributor
SUMMARY

The same case as #829. eslint.config.mjs takes airbnbPlugins.reactHooks from eslint-config-airbnb-extended, which carries eslint-plugin-react-hooks as a regular dependency at ^7.1.1, the same range the direct entry asked for. Resolution is unchanged at 7.1.1 and node_modules is identical.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • UI
ADDITIONAL INFORMATION
  • make ui-lint: clean over the whole of src/.
  • make ui-test-general: 1038 tests, all passing.
  • make ui-test-screens: 1941 tests, all passing.

This sits on the line directly below the one #829 removes, so the two conflict with each other. Whichever merges second wants a one line resolution that keeps both removals.

As with #829, this does not move the ESLint 10 ceiling: that is eslint-config-airbnb-extended's own peer on eslint: ^9.0.0.

@cigamit cigamit self-assigned this Sep 7, 2026
@cigamit cigamit added dependencies Pull requests that update a dependency file Needs triage When a Issue needs to be researched or a PR has an issue that needs fixing before merging labels Sep 7, 2026
Same case as eslint-plugin-react. eslint.config.mjs takes
airbnbPlugins.reactHooks from eslint-config-airbnb-extended, which carries
eslint-plugin-react-hooks as a regular dependency at ^7.1.1, the same range
the direct entry asked for. Resolution is unchanged at 7.1.1 and node_modules
is identical.

Verified by linting, the step that resolves plugins.
@blaipr
blaipr force-pushed the build/drop-eslint-plugin-react-hooks branch from 04682e6 to 9894a99 Compare September 7, 2026 06:42
@cigamit cigamit removed the Needs triage When a Issue needs to be researched or a PR has an issue that needs fixing before merging label Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Development

Successfully merging this pull request may close these issues.

2 participants