-
Notifications
You must be signed in to change notification settings - Fork 49.7k
Closed
Labels
Status: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bug
Description
React version: 19.2.0
Steps To Reproduce
- Install eslint-plugin-react-hooks@6.1.0
- Import
reactHooks.configs['recommended-latest']in eslint.config.js with ts-check enabled - TypeScript outputs an error stating that there is no type named config in reactHooks.
Link to code example:
https://github.com/eai04191/eslint-plugin-react-hooks-config-exports-repro
In 5.2.0 the config type is correctly defined (ecaad30)
In 6.1.0 the type of config is defined as {} (91b8f13)
So I get the error in eslint.config.js
The current behavior
the type of config is defined as {}
The expected behavior
the config type is correctly defined
espada-edalex, luishdz1010, akx, maxence-lefebvre, totomakers and 14 more
Metadata
Metadata
Assignees
Labels
Status: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bug