Eslint: Need active react hooks plugin
kamikazebr opened this issue · comments
Felipe Novaes F Rocha commented
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
The error need be fix after activing it.
That's simple task.
I recommend do that it after #749 be merged
Gabi commented
Let's wait for the migration to NextJS.