Skip to content

Commit 6c78f59

Browse files
committed
feat: Update ESLint dependencies
1 parent e258532 commit 6c78f59

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

package.json

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

packages/eslint-config-react-app/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you want to use this ESLint configuration in a project not built with Create
1919
First, install this package, ESLint and the necessary plugins.
2020

2121
```sh
22-
npm install --save-dev eslint-config-react-app @typescript-eslint/eslint-plugin@2.x @typescript-eslint/parser@2.x babel-eslint@10.x eslint@6.x eslint-plugin-flowtype@4.x eslint-plugin-import@2.x eslint-plugin-jsx-a11y@6.x eslint-plugin-react@7.x eslint-plugin-react-hooks@2.x
22+
npm install --save-dev eslint-config-react-app @typescript-eslint/eslint-plugin@^4.0.0 @typescript-eslint/parser@^4.0.0 babel-eslint@^10.0.0 eslint@^7.5.0 eslint-plugin-flowtype@^5.2.0 eslint-plugin-import@^2.22.0 eslint-plugin-jest@^24.0.0 eslint-plugin-jsx-a11y@^6.3.1 eslint-plugin-react@^7.20.3 eslint-plugin-react-hooks@^4.0.8
2323
```
2424

2525
Then create a file named `.eslintrc.json` with following contents in the root folder of your project:

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
"index.js"
1616
],
1717
"peerDependencies": {
18-
"@typescript-eslint/eslint-plugin": "^3.0.0",
19-
"@typescript-eslint/parser": "^3.0.0",
18+
"@typescript-eslint/eslint-plugin": "^4.0.0",
19+
"@typescript-eslint/parser": "^4.0.0",
2020
"babel-eslint": "^10.0.0",
21-
"eslint": "^7.0.0",
21+
"eslint": "^7.5.0",
2222
"eslint-plugin-flowtype": "^5.2.0",
2323
"eslint-plugin-import": "^2.22.0",
2424
"eslint-plugin-jest": "^24.0.0",

packages/react-error-overlay/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@
4444
"chalk": "2.4.2",
4545
"chokidar": "^3.3.0",
4646
"cross-env": "7.0.2",
47-
"eslint": "^7.5.0",
47+
"eslint": "^7.9.0",
4848
"eslint-config-react-app": "^5.2.1",
4949
"eslint-plugin-flowtype": "^5.2.0",
5050
"eslint-plugin-import": "^2.22.0",
51-
"eslint-plugin-jest": "^24.0.0",
51+
"eslint-plugin-jest": "^24.0.1",
5252
"eslint-plugin-jsx-a11y": "^6.3.1",
53-
"eslint-plugin-react": "^7.20.3",
54-
"eslint-plugin-react-hooks": "^4.0.8",
53+
"eslint-plugin-react": "^7.20.6",
54+
"eslint-plugin-react-hooks": "^4.1.2",
5555
"flow-bin": "^0.116.0",
5656
"html-entities": "1.3.1",
5757
"jest": "26.3.0",

packages/react-scripts/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"@babel/core": "7.10.5",
3232
"@pmmmwh/react-refresh-webpack-plugin": "0.4.1",
3333
"@svgr/webpack": "5.4.0",
34-
"@typescript-eslint/eslint-plugin": "^3.3.0",
35-
"@typescript-eslint/parser": "^3.3.0",
34+
"@typescript-eslint/eslint-plugin": "^4.1.0",
35+
"@typescript-eslint/parser": "^4.1.0",
3636
"babel-eslint": "^10.1.0",
3737
"babel-jest": "^26.3.0",
3838
"babel-loader": "8.1.0",
@@ -44,15 +44,15 @@
4444
"css-loader": "3.6.0",
4545
"dotenv": "8.2.0",
4646
"dotenv-expand": "5.1.0",
47-
"eslint": "^7.5.0",
47+
"eslint": "^7.9.0",
4848
"eslint-config-react-app": "^5.2.1",
4949
"eslint-loader": "^4.0.2",
5050
"eslint-plugin-flowtype": "^5.2.0",
5151
"eslint-plugin-import": "^2.22.0",
52-
"eslint-plugin-jest": "^24.0.0",
52+
"eslint-plugin-jest": "^24.0.1",
5353
"eslint-plugin-jsx-a11y": "^6.3.1",
54-
"eslint-plugin-react": "^7.20.3",
55-
"eslint-plugin-react-hooks": "^4.0.8",
54+
"eslint-plugin-react": "^7.20.6",
55+
"eslint-plugin-react-hooks": "^4.1.2",
5656
"file-loader": "6.0.0",
5757
"fs-extra": "^9.0.0",
5858
"html-webpack-plugin": "4.3.0",

0 commit comments

Comments
 (0)