As of version ^2.0.0 of eslint-plugin-react-hooks the plugin now forbids top-level use*() calls more aggressively.
See the official changelog and corresponding commits for more details.
To adapt to this change the peer & dev dependency version will be updated to the latest minor/patch version.
As of version
^2.0.0ofeslint-plugin-react-hooksthe plugin now forbids top-leveluse*()calls more aggressively.See the official changelog and corresponding commits for more details.
To adapt to this change the peer & dev dependency version will be updated to the latest minor/patch version.