Skip to content

Commit 016257b

Browse files
committed
feat: Upgrade eslint-plugin-react-hooks to ^4.1.2
BREAKING CHANGE: The version of eslint-plugin-react-hooks has been bumped two majors (2 -> 4), there are many new validations that may expose new lint errors. See https://github.com/facebook/react/blob/master/packages/eslint-plugin-react-hooks/CHANGELOG.md for details.
1 parent 284dcdd commit 016257b

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"eslint-plugin-mocha": "^6.3.0",
102102
"eslint-plugin-prettier": "^3.1.4",
103103
"eslint-plugin-react": "^7.21.1",
104-
"eslint-plugin-react-hooks": "^2.5.1",
104+
"eslint-plugin-react-hooks": "^4.1.2",
105105
"fast-async": "^7.0.6",
106106
"jest": "^26.4.2",
107107
"jsx-ast-utils": "2.4.1",

packages/eslint-config-zillow/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"eslint-plugin-mocha": "^5.3.0 || ^6.1.1",
4141
"eslint-plugin-prettier": "^3.0.1",
4242
"eslint-plugin-react": "^7.12.4",
43-
"eslint-plugin-react-hooks": "^1.5.0 || ^2.1.2",
43+
"eslint-plugin-react-hooks": "^4.1.2",
4444
"prettier": "^2.1.2"
4545
},
4646
"dependencies": {

packages/eslint-plugin-zillow/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"eslint-plugin-mocha": "^6.3.0",
4949
"eslint-plugin-prettier": "^3.1.4",
5050
"eslint-plugin-react": "^7.21.1",
51-
"eslint-plugin-react-hooks": "^2.5.1",
51+
"eslint-plugin-react-hooks": "^4.1.2",
5252
"prettier-config-zillow": "file:../prettier-config-zillow",
5353
"typescript": "^3.9.7 || ^4.0.2"
5454
}

0 commit comments

Comments
 (0)