Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update eslint-plugin-react-hooks version v2 (#27)
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
- Loading branch information