From fe1a9a387f4da3662717b6250c74c96c9472ba08 Mon Sep 17 00:00:00 2001 From: Katerina Koukiou Date: Sat, 9 Apr 2022 08:05:34 +0200 Subject: [PATCH] package.json: bump eslint to ^8.0.0 and all eslint-x dependencies So as to satisfy the new eslint peer dependency. In addition drop eslint-config-standard-react as it does not release anymore, and eslint 8.x is not compatible with the available last release. https://github.com/standard/eslint-config-standard-react/pull/69 Replace it with https://github.com/facebook/create-react-app#readme which is actively maintained. Lastly drop the deprecated https://github.com/standard/eslint-plugin-standard --- .eslintrc.json | 2 +- package.json | 23 +++++++++++------------ 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index a1e52bcd..f2b0ea2e 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -4,7 +4,7 @@ "browser": true, "es6": true }, - "extends": ["eslint:recommended", "standard", "standard-jsx", "standard-react"], + "extends": ["eslint:recommended", "standard", "standard-jsx", "react-app"], "parser": "@babel/eslint-parser", "parserOptions": { "ecmaVersion": "7", diff --git a/package.json b/package.json index 517abbe0..3f389774 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ }, "devDependencies": { "@babel/core": "^7.5.4", - "@babel/eslint-parser": "^7.13.14", + "@babel/eslint-parser": "^7.17.0", "@babel/preset-env": "^7.5.4", "@babel/preset-react": "^7.0.0", "babel-loader": "^8.0.6", @@ -22,18 +22,17 @@ "copy-webpack-plugin": "^9.0.0", "css-loader": "^6.5.0", "css-minimizer-webpack-plugin": "^3.0.1", - "eslint": "^7.10.0", - "eslint-config-standard": "^14.1.1", - "eslint-config-standard-jsx": "^10.0.0", - "eslint-config-standard-react": "^11.0.1", - "eslint-plugin-flowtype": "^5.2.0", - "eslint-plugin-import": "^2.22.1", + "eslint": "^8.13.0", + "eslint-config-react-app": "^7.0.0", + "eslint-config-standard": "^17.0.0-1", + "eslint-config-standard-jsx": "^11.0.0-1", + "eslint-plugin-flowtype": "^8.0.3", + "eslint-plugin-import": "^2.26.0", "eslint-plugin-node": "^11.1.0", - "eslint-plugin-promise": "^4.2.1", - "eslint-plugin-react": "^7.21.2", - "eslint-plugin-react-hooks": "^4.1.2", - "eslint-plugin-standard": "^4.0.1", - "eslint-webpack-plugin": "^2.5.3", + "eslint-plugin-promise": "^6.0.0", + "eslint-plugin-react": "^7.29.4", + "eslint-plugin-react-hooks": "^4.4.0", + "eslint-webpack-plugin": "^3.1.1", "htmlparser": "^1.7.7", "jed": "^1.1.1", "mini-css-extract-plugin": "^2.5.3",