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"]
}
I created a project from scratch with Vite + Typescript and I've added the
eslint-config-rocketseatto 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