Skip to content

ESlint: eslint-plugin-react-hooks is going too far  #24252

Closed
@zettadam

Description

@zettadam

I think that eslint-plugin-react-hooks rules might be going to far. I have a function that starts with use prefix but it doesn't mean that I wrote a React hook, especially when the code in question is in not related or used with React. Here's what I mean:

Screen Shot 2022-04-01 at 4 15 02 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: UnconfirmedA potential issue that we haven't yet confirmed as a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions