Skip to content

Commit a8ecaa8

Browse files
committed
[eslint config] [deps] [patch] allow eslint-plugin-jsx-a11y to be v3 or v4. Remove no-marquee rule temporarily.
1 parent de5cd51 commit a8ecaa8

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

packages/eslint-config-airbnb/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"eslint": "^3.15.0",
5656
"eslint-find-rules": "^1.14.3",
5757
"eslint-plugin-import": "^2.2.0",
58-
"eslint-plugin-jsx-a11y": "^3.0.2",
58+
"eslint-plugin-jsx-a11y": "^4.0.0",
5959
"eslint-plugin-react": "^6.9.0",
6060
"in-publish": "^2.0.0",
6161
"react": ">= 0.13.0",
@@ -64,7 +64,7 @@
6464
},
6565
"peerDependencies": {
6666
"eslint": "^3.15.0",
67-
"eslint-plugin-jsx-a11y": "^3.0.2",
67+
"eslint-plugin-jsx-a11y": "^3.0.2 || ^4.0.0",
6868
"eslint-plugin-import": "^2.2.0",
6969
"eslint-plugin-react": "^6.9.0"
7070
},

packages/eslint-config-airbnb/rules/react-a11y.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,6 @@ module.exports = {
9292
// https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/lang.md
9393
'jsx-a11y/lang': 'error',
9494

95-
// prevent marquee elements
96-
// https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-marquee.md
97-
'jsx-a11y/no-marquee': 'error',
98-
9995
// only allow <th> to have the "scope" attr
10096
// https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/scope.md
10197
'jsx-a11y/scope': 'error',

0 commit comments

Comments
 (0)