Skip to content

Commit

Permalink
Support ESLint 7.x (#8978)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Jun 23, 2020
1 parent fdbde1f commit 6223fd9
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 27 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -24,7 +24,7 @@
"@testing-library/react": "^10.2.1",
"@testing-library/user-event": "^12.0.2",
"alex": "^8.0.0",
"eslint": "^6.1.0",
"eslint": "^7.3.0",
"execa": "1.0.0",
"fs-extra": "^9.0.0",
"get-port": "^5.1.1",
Expand Down
21 changes: 12 additions & 9 deletions packages/eslint-config-react-app/package.json
Expand Up @@ -15,17 +15,20 @@
"index.js"
],
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "2.x",
"@typescript-eslint/parser": "2.x",
"babel-eslint": "10.x",
"eslint": "6.x",
"eslint-plugin-flowtype": "3.x || 4.x",
"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 || 4.x"
"@typescript-eslint/eslint-plugin": "^3.0.0",
"@typescript-eslint/parser": "^3.0.0",
"babel-eslint": "^10.0.0",
"eslint": "^7.0.0",
"eslint-plugin-flowtype": "^5.0.0",
"eslint-plugin-import": "^2.21.1",
"eslint-plugin-jsx-a11y": "^6.3.0",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.0.1"
},
"dependencies": {
"confusing-browser-globals": "^1.0.9"
},
"engines": {
"node": "^10.12.0 || >=12.0.0"
}
}
13 changes: 7 additions & 6 deletions packages/react-error-overlay/package.json
Expand Up @@ -37,19 +37,20 @@
"@babel/code-frame": "7.10.3",
"@babel/core": "7.10.3",
"anser": "1.4.9",
"babel-eslint": "10.1.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.0.1",
"babel-loader": "8.1.0",
"babel-preset-react-app": "^9.1.2",
"chalk": "2.4.2",
"chokidar": "^3.3.0",
"cross-env": "7.0.2",
"eslint": "^6.1.0",
"eslint": "^7.3.0",
"eslint-config-react-app": "^5.2.1",
"eslint-plugin-flowtype": "4.7.0",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.20.0",
"eslint-plugin-flowtype": "^5.1.3",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.0.4",
"flow-bin": "^0.116.0",
"html-entities": "1.3.1",
"jest": "26.0.1",
Expand Down
22 changes: 11 additions & 11 deletions packages/react-scripts/package.json
Expand Up @@ -9,7 +9,7 @@
},
"license": "MIT",
"engines": {
"node": ">=10"
"node": "^10.12.0 || >=12.0.0"
},
"bugs": {
"url": "https://github.com/facebook/create-react-app/issues"
Expand All @@ -31,9 +31,9 @@
"@babel/core": "7.10.3",
"@pmmmwh/react-refresh-webpack-plugin": "0.3.3",
"@svgr/webpack": "5.4.0",
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"babel-eslint": "10.1.0",
"@typescript-eslint/eslint-plugin": "^3.3.0",
"@typescript-eslint/parser": "^3.3.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.0.1",
"babel-loader": "8.1.0",
"babel-plugin-named-asset-import": "^0.3.6",
Expand All @@ -44,14 +44,14 @@
"css-loader": "3.6.0",
"dotenv": "8.2.0",
"dotenv-expand": "5.1.0",
"eslint": "^6.6.0",
"eslint": "^7.3.0",
"eslint-config-react-app": "^5.2.1",
"eslint-loader": "4.0.2",
"eslint-plugin-flowtype": "4.7.0",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.20.0",
"eslint-plugin-react-hooks": "^4.0.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-flowtype": "^5.1.3",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.0.4",
"file-loader": "6.0.0",
"fs-extra": "^9.0.0",
"html-webpack-plugin": "4.3.0",
Expand Down

1 comment on commit 6223fd9

@Svish
Copy link

@Svish Svish commented on 6223fd9 Jul 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Superb! But is there any ETA on when this might be released to NPM? I'm using the eslint-config-react-app as the basis for the shared eslint configuration in our company. Would like to upgrade eslint to version 7, as well as the other dependencies lagging behind, but are unable to do that until this is released. 😕

Please sign in to comment.