1Hive / gardens-ui

Gardens UI 🌻

Home Page:https://gardens.1hive.org/#/home

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Eslint: Need active react hooks plugin

kamikazebr opened this issue · comments

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

commented

Let's wait for the migration to NextJS.