@samitouri / QOS-React-2 / commits / 0672829053

Bump ESLint plugin to 2.0 (#16528)

Dan Abramov committed Aug 21, 2019 at 19:14 UTC 06728290533bce24b0893461c3f4ddc1547f85b4
2 files changed +5 -1
CHANGELOG.md
+4
@@ -41,6 +41,10 @@
41 * Warn in Strict Mode if effects are scheduled outside an `act()` call. ([@threepointone](https://github.com/threepointone) in [#15763](https://github.com/facebook/react/pull/15763) and [#16041](https://github.com/facebook/react/pull/16041))
42 * Warn when using `act` from the wrong renderer. ([@threepointone](https://github.com/threepointone) in [#15756](https://github.com/facebook/react/pull/15756))
43
44 +### ESLint Plugin: React Hooks
45 +
46 +* Report Hook calls at the top level as a violation. ([gaearon](https://github.com/gaearon) in [#16455](https://github.com/facebook/react/pull/16455))
47 +
48 ## 16.8.6 (March 27, 2019)
49
50 ### React DOM
packages/eslint-plugin-react-hooks/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "eslint-plugin-react-hooks",
3 "description": "ESLint rules for React Hooks",
4 - "version": "1.7.0",
4 + "version": "2.0.0",
5 "repository": {
6 "type": "git",
7 "url": "https://github.com/facebook/react.git",