From cad803835b9e0fb7eaa18c202fbb178819001516 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Fri, 1 May 2020 17:27:11 +0100 Subject: [PATCH] Bump React Hooks ESLint plugin to 4.0.0 --- packages/eslint-config-react-app/package.json | 2 +- packages/react-scripts/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/eslint-config-react-app/package.json b/packages/eslint-config-react-app/package.json index a0be232231c..bc92bac2c75 100644 --- a/packages/eslint-config-react-app/package.json +++ b/packages/eslint-config-react-app/package.json @@ -23,7 +23,7 @@ "eslint-plugin-import": "2.x", "eslint-plugin-jsx-a11y": "6.x", "eslint-plugin-react": "7.x", - "eslint-plugin-react-hooks": "1.x || 2.x || 3.x" + "eslint-plugin-react-hooks": "1.x || 2.x || 3.x || 4.x" }, "dependencies": { "confusing-browser-globals": "^1.0.9" diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index a5983f373c2..8c770fad89c 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -50,7 +50,7 @@ "eslint-plugin-import": "2.20.1", "eslint-plugin-jsx-a11y": "6.2.3", "eslint-plugin-react": "7.19.0", - "eslint-plugin-react-hooks": "^1.6.1", + "eslint-plugin-react-hooks": "^4.0.0", "file-loader": "4.3.0", "fs-extra": "^8.1.0", "html-webpack-plugin": "4.0.0-beta.11",