Skip to content

Commit 20436b4

Browse files
MichaelDeBoeyjmmorris
authored andcommitted
Support ESLint 7.x (facebook#8978)
1 parent 9972c89 commit 20436b4

File tree

4 files changed

+31
-27
lines changed

4 files changed

+31
-27
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@testing-library/react": "^10.2.1",
2525
"@testing-library/user-event": "^12.0.2",
2626
"alex": "^8.0.0",
27-
"eslint": "^6.1.0",
27+
"eslint": "^7.3.0",
2828
"execa": "1.0.0",
2929
"fs-extra": "^9.0.0",
3030
"get-port": "^5.1.1",

packages/eslint-config-react-app/package.json

+12-9
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,20 @@
1515
"index.js"
1616
],
1717
"peerDependencies": {
18-
"@typescript-eslint/eslint-plugin": "2.x",
19-
"@typescript-eslint/parser": "2.x",
20-
"babel-eslint": "10.x",
21-
"eslint": "6.x",
22-
"eslint-plugin-flowtype": "3.x || 4.x",
23-
"eslint-plugin-import": "2.x",
24-
"eslint-plugin-jsx-a11y": "6.x",
25-
"eslint-plugin-react": "7.x",
26-
"eslint-plugin-react-hooks": "1.x || 2.x || 3.x || 4.x"
18+
"@typescript-eslint/eslint-plugin": "^3.0.0",
19+
"@typescript-eslint/parser": "^3.0.0",
20+
"babel-eslint": "^10.0.0",
21+
"eslint": "^7.0.0",
22+
"eslint-plugin-flowtype": "^5.0.0",
23+
"eslint-plugin-import": "^2.21.1",
24+
"eslint-plugin-jsx-a11y": "^6.3.0",
25+
"eslint-plugin-react": "^7.20.0",
26+
"eslint-plugin-react-hooks": "^4.0.1"
2727
},
2828
"dependencies": {
2929
"confusing-browser-globals": "^1.0.9"
30+
},
31+
"engines": {
32+
"node": "^10.12.0 || >=12.0.0"
3033
}
3134
}

packages/react-error-overlay/package.json

+7-6
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,20 @@
3737
"@babel/code-frame": "7.10.3",
3838
"@babel/core": "7.10.3",
3939
"anser": "1.4.9",
40-
"babel-eslint": "10.1.0",
40+
"babel-eslint": "^10.1.0",
4141
"babel-jest": "^26.0.1",
4242
"babel-loader": "8.1.0",
4343
"babel-preset-react-app": "^9.1.2",
4444
"chalk": "2.4.2",
4545
"chokidar": "^3.3.0",
4646
"cross-env": "7.0.2",
47-
"eslint": "^6.1.0",
47+
"eslint": "^7.3.0",
4848
"eslint-config-react-app": "^5.2.1",
49-
"eslint-plugin-flowtype": "4.7.0",
50-
"eslint-plugin-import": "2.20.2",
51-
"eslint-plugin-jsx-a11y": "6.2.3",
52-
"eslint-plugin-react": "7.20.0",
49+
"eslint-plugin-flowtype": "^5.1.3",
50+
"eslint-plugin-import": "^2.21.2",
51+
"eslint-plugin-jsx-a11y": "^6.3.1",
52+
"eslint-plugin-react": "^7.20.0",
53+
"eslint-plugin-react-hooks": "^4.0.4",
5354
"flow-bin": "^0.116.0",
5455
"html-entities": "1.3.1",
5556
"jest": "26.0.1",

packages/react-scripts/package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"license": "MIT",
1111
"engines": {
12-
"node": ">=10"
12+
"node": "^10.12.0 || >=12.0.0"
1313
},
1414
"bugs": {
1515
"url": "https://github.com/facebook/create-react-app/issues"
@@ -31,9 +31,9 @@
3131
"@babel/core": "7.10.3",
3232
"@pmmmwh/react-refresh-webpack-plugin": "0.3.3",
3333
"@svgr/webpack": "5.4.0",
34-
"@typescript-eslint/eslint-plugin": "^2.10.0",
35-
"@typescript-eslint/parser": "^2.10.0",
36-
"babel-eslint": "10.1.0",
34+
"@typescript-eslint/eslint-plugin": "^3.3.0",
35+
"@typescript-eslint/parser": "^3.3.0",
36+
"babel-eslint": "^10.1.0",
3737
"babel-jest": "^26.0.1",
3838
"babel-loader": "8.1.0",
3939
"babel-plugin-named-asset-import": "^0.3.6",
@@ -44,14 +44,14 @@
4444
"css-loader": "3.6.0",
4545
"dotenv": "8.2.0",
4646
"dotenv-expand": "5.1.0",
47-
"eslint": "^6.6.0",
47+
"eslint": "^7.3.0",
4848
"eslint-config-react-app": "^5.2.1",
49-
"eslint-loader": "4.0.2",
50-
"eslint-plugin-flowtype": "4.7.0",
51-
"eslint-plugin-import": "2.20.2",
52-
"eslint-plugin-jsx-a11y": "6.2.3",
53-
"eslint-plugin-react": "7.20.0",
54-
"eslint-plugin-react-hooks": "^4.0.0",
49+
"eslint-loader": "^4.0.2",
50+
"eslint-plugin-flowtype": "^5.1.3",
51+
"eslint-plugin-import": "^2.21.2",
52+
"eslint-plugin-jsx-a11y": "^6.3.1",
53+
"eslint-plugin-react": "^7.20.0",
54+
"eslint-plugin-react-hooks": "^4.0.4",
5555
"file-loader": "6.0.0",
5656
"fs-extra": "^9.0.0",
5757
"html-webpack-plugin": "4.3.0",

0 commit comments

Comments
 (0)