From 4ddb8e4aa46503b117a6a1a59ea6e59452ac6e5b Mon Sep 17 00:00:00 2001 From: Chris Watson Date: Mon, 31 Aug 2020 09:20:40 -0400 Subject: [PATCH] set react version latest, add plugin as peerDep --- eslintrc.json | 2 +- package.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/eslintrc.json b/eslintrc.json index 606518d6..5bbae11b 100644 --- a/eslintrc.json +++ b/eslintrc.json @@ -9,7 +9,7 @@ "settings": { "react": { - "version": "detect" + "version": "latest" } }, diff --git a/package.json b/package.json index 5f43df9d..e8eb9b65 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "eslint-config-standard-react", "description": "JavaScript Standard Style React/JSX support - ESLint Shareable Config", - "version": "9.2.0", + "version": "10.0.0", "author": { "name": "Feross Aboukhadijeh", "email": "feross@feross.org", @@ -19,6 +19,10 @@ "eslint-plugin-react-hooks": "^4.1.0", "tape": "^5.0.1" }, + "peerDependencies": { + "eslint": ">=7.7.0", + "eslint-plugin-react": ">=7.20.6" + }, "homepage": "https://github.com/feross/eslint-config-standard-react", "keywords": [ "JavaScript Standard Style", @@ -50,10 +54,6 @@ ], "license": "MIT", "main": "index.js", - "peerDependencies": { - "eslint": ">=7.7.0", - "eslint-plugin-react": ">=7.20.6" - }, "repository": { "type": "git", "url": "git://github.com/feross/eslint-config-standard-react.git"