Skip to content

Commit

Permalink
Support ESLint 7.x (facebook#8978)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey authored and abhiisheek committed May 19, 2023
1 parent 1260b28 commit 2058f74
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 27 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"license": "MIT",
"engines": {
"node": ">=10"
"node": "^10.12.0 || >=12.0.0"
},
"bugs": {
"url": "https://github.com/abhiisheek/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

0 comments on commit 2058f74

Please sign in to comment.