Skip to content

Conversation

@arcticicestudio
Copy link
Contributor

Resolves #23

As of version `^2.0.0` of `eslint-plugin-react-hooks` [1] the plugin now
forbids top-level `use*()` calls more aggressively [2].
See the official changelog and corresponding commits [3] for more
details.

To adapt to this change the peer & dev dependency version has been
updated to the latest minor/patch version [4].

[1]: https://github.com/facebook/react/tree/master/packages/eslint-plugin-react-hooks
[2]: facebook/react#16455
[3]: https://github.com/facebook/react/pull/16528/files
[4]: https://www.npmjs.com/package/eslint-plugin-react-hooks

Co-authored-by: Sven Greb <development@svengreb.de>

GH-23
@arcticicestudio arcticicestudio merged commit e015dc0 into develop Mar 29, 2021
@arcticicestudio arcticicestudio deleted the task/gh-23-eslint-plugin-react-hooks-v2 branch March 29, 2021 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update eslint-plugin-react-hooks version 2.x.x

3 participants