Skip to content

Eslint: Need active react hooks plugin #758

@kamikazebr

Description

@kamikazebr

Eslint its all good to keeping avoid bug before that happens.

We already have eslint-plugin-react-hooks, but need active/configure properly to work

We need add

rules: {
    'react-hooks/rules-of-hooks': 'error',
    'react-hooks/exhaustive-deps': 'warn',
  },

To eslintrc.js

After activing i got 1 errors and 3 warning. One printscreen to sample below

image

The error need be fix after activing it.

That's simple task.

I recommend do that it after #749 be merged

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions