improv(DEV-911): add @eslint-react/eslint-plugin
Note: Adding
// @ts-checktopackages/eslint-config-custom/index.mjsmakeseslint-plugin-reactpackage fail. I didnt' manage to fix it, so decided to completely remove it (open to keep it if someone manages to add it correctly).
The main introduction here is @eslint-react/hooks-extra/no-direct-set-state-in-use-effect which helps compliance to the rules in You Might Not Need an Effect. Note, however that it is not possible to fix all these issues automatically, so we will face them once we start changing the concerned files.
Edited by Fabio Maschi