Skip to content

Commit 0672829

Browse files
authored
Bump ESLint plugin to 2.0 (#16528)
1 parent 2559111 commit 0672829

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
* 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))
4242
* Warn when using `act` from the wrong renderer. ([@threepointone](https://github.com/threepointone) in [#15756](https://github.com/facebook/react/pull/15756))
4343

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+
4448
## 16.8.6 (March 27, 2019)
4549

4650
### React DOM

packages/eslint-plugin-react-hooks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "eslint-plugin-react-hooks",
33
"description": "ESLint rules for React Hooks",
4-
"version": "1.7.0",
4+
"version": "2.0.0",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/facebook/react.git",

0 commit comments

Comments
 (0)