Skip to content

Commit b0b9696

Browse files
bondzgaearon
authored andcommittedMar 5, 2017
Bump jsx-a11y version (#1542)
* Bump jsx-a11y version * Update package dependecy for jsx-a11y * Bump version in react-scripts
1 parent 830fe20 commit b0b9696

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"eslint-config-react-app": "0.5.1",
1717
"eslint-plugin-flowtype": "2.21.0",
1818
"eslint-plugin-import": "2.0.1",
19-
"eslint-plugin-jsx-a11y": "2.2.3",
19+
"eslint-plugin-jsx-a11y": "4.0.0",
2020
"eslint-plugin-react": "6.4.1",
2121
"lerna": "2.0.0-beta.38",
2222
"lerna-changelog": "^0.2.3"

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

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

1919
```sh
20-
npm install --save-dev eslint-config-react-app babel-eslint@7.0.0 eslint@3.16.1 eslint-plugin-flowtype@2.21.0 eslint-plugin-import@2.0.1 eslint-plugin-jsx-a11y@2.2.3 eslint-plugin-react@6.4.1
20+
npm install --save-dev eslint-config-react-app babel-eslint@7.1.1 eslint@3.16.1 eslint-plugin-flowtype@2.21.0 eslint-plugin-import@2.0.1 eslint-plugin-jsx-a11y@4.0.0 eslint-plugin-react@6.4.1
2121
```
2222

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

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"eslint": "^3.16.1",
1616
"eslint-plugin-flowtype": "^2.21.0",
1717
"eslint-plugin-import": "^2.0.1",
18-
"eslint-plugin-jsx-a11y": "^2.2.3",
18+
"eslint-plugin-jsx-a11y": "^4.0.0",
1919
"eslint-plugin-react": "^6.4.1"
2020
}
2121
}

‎packages/react-scripts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"eslint-loader": "1.6.0",
4343
"eslint-plugin-flowtype": "2.21.0",
4444
"eslint-plugin-import": "2.0.1",
45-
"eslint-plugin-jsx-a11y": "2.2.3",
45+
"eslint-plugin-jsx-a11y": "4.0.0",
4646
"eslint-plugin-react": "6.4.1",
4747
"extract-text-webpack-plugin": "1.0.1",
4848
"file-loader": "0.10.0",

‎packages/react-scripts/template/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ Then add this block to the `package.json` file of your project:
245245
Finally, you will need to install some packages *globally*:
246246

247247
```sh
248-
npm install -g eslint-config-react-app@0.3.0 eslint@3.8.1 babel-eslint@7.0.0 eslint-plugin-react@6.4.1 eslint-plugin-import@2.0.1 eslint-plugin-jsx-a11y@2.2.3 eslint-plugin-flowtype@2.21.0
248+
npm install -g eslint-config-react-app@0.3.0 eslint@3.8.1 babel-eslint@7.0.0 eslint-plugin-react@6.4.1 eslint-plugin-import@2.0.1 eslint-plugin-jsx-a11y@4.0.0 eslint-plugin-flowtype@2.21.0
249249
```
250250

251251
We recognize that this is suboptimal, but it is currently required due to the way we hide the ESLint dependency. The ESLint team is already [working on a solution to this](https://github.com/eslint/eslint/issues/3458) so this may become unnecessary in a couple of months.

0 commit comments

Comments
 (0)
Please sign in to comment.