Skip to content

react hooks rules #6

@diegohmac

Description

@diegohmac

I created a project from scratch with Vite + Typescript and I've added the eslint-config-rocketseat to it.

It's working fine for everything but the react hooks rules.

For example, I have a useEffect without declaring its dependencies and it's not throwing any red lines there.

Is there an additional config that I need to make in order to have it working?

This is my .eslintrc.json

{
  "extends": ["@rocketseat/eslint-config/react"]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions