From 0416d960196abc61d3459420faf5353829607bd7 Mon Sep 17 00:00:00 2001 From: Reece Dunham Date: Thu, 13 Feb 2020 10:41:28 -0500 Subject: [PATCH 1/2] Fix missing peer dependencies warnings --- packages/eslint-config-react-app/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/eslint-config-react-app/package.json b/packages/eslint-config-react-app/package.json index ff365cba445..1f4867cc69d 100644 --- a/packages/eslint-config-react-app/package.json +++ b/packages/eslint-config-react-app/package.json @@ -1,7 +1,7 @@ { "name": "eslint-config-react-app", "version": "5.2.0", - "description": "ESLint configuration used by Create React App", + "description": "ESLint configuration used by Create React App.", "repository": { "type": "git", "url": "https://github.com/facebook/create-react-app.git", @@ -19,11 +19,11 @@ "@typescript-eslint/parser": "2.x", "babel-eslint": "10.x", "eslint": "6.x", - "eslint-plugin-flowtype": "3.x", + "eslint-plugin-flowtype": "4.x", "eslint-plugin-import": "2.x", "eslint-plugin-jsx-a11y": "6.x", "eslint-plugin-react": "7.x", - "eslint-plugin-react-hooks": "1.x" + "eslint-plugin-react-hooks": "2.x" }, "dependencies": { "confusing-browser-globals": "^1.0.9" From 424dcdbdfbdd0d390b9f62f14a1ab3bf0a8ce777 Mon Sep 17 00:00:00 2001 From: Reece Dunham Date: Thu, 13 Feb 2020 10:43:05 -0500 Subject: [PATCH 2/2] Update package.json --- packages/react-scripts/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 06da6cffc59..e335ec7f996 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -48,8 +48,8 @@ "eslint-plugin-flowtype": "4.6.0", "eslint-plugin-import": "2.20.0", "eslint-plugin-jsx-a11y": "6.2.3", - "eslint-plugin-react": "7.18.0", - "eslint-plugin-react-hooks": "^1.6.1", + "eslint-plugin-react": "7.18.3", + "eslint-plugin-react-hooks": "^2.3.0", "file-loader": "4.3.0", "fs-extra": "^8.1.0", "html-webpack-plugin": "4.0.0-beta.11",