Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update eslint-plugin-react-hooks to v2 #27

Merged
merged 1 commit into from
Mar 29, 2021

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
2 participants