File tree Expand file tree Collapse file tree 3 files changed +31
-4
lines changed
packages/eslint-config-airbnb Expand file tree Collapse file tree 3 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 77
77
"eslint" : " ^7.32.0 || ^8.2.0" ,
78
78
"eslint-find-rules" : " ^4.1.0" ,
79
79
"eslint-plugin-import" : " ^2.27.5" ,
80
- "eslint-plugin-jsx-a11y" : " ^6.6 .1" ,
81
- "eslint-plugin-react" : " ^7.31.8 " ,
80
+ "eslint-plugin-jsx-a11y" : " ^6.7 .1" ,
81
+ "eslint-plugin-react" : " ^7.32.2 " ,
82
82
"eslint-plugin-react-hooks" : " ^4.6.0" ,
83
83
"in-publish" : " ^2.0.1" ,
84
84
"react" : " >= 0.13.0" ,
88
88
"peerDependencies" : {
89
89
"eslint" : " ^7.32.0 || ^8.2.0" ,
90
90
"eslint-plugin-import" : " ^2.27.5" ,
91
- "eslint-plugin-jsx-a11y" : " ^6.6 .1" ,
92
- "eslint-plugin-react" : " ^7.31.8 " ,
91
+ "eslint-plugin-jsx-a11y" : " ^6.7 .1" ,
92
+ "eslint-plugin-react" : " ^7.32.2 " ,
93
93
"eslint-plugin-react-hooks" : " ^4.6.0"
94
94
},
95
95
"engines" : {
Original file line number Diff line number Diff line change @@ -247,5 +247,20 @@ module.exports = {
247
247
} ,
248
248
allowChildren : false ,
249
249
} ] ,
250
+
251
+ // Ensures anchor text is not ambiguous
252
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/93f78856655696a55309440593e0948c6fb96134/docs/rules/anchor-ambiguous-text.md
253
+ // TODO: semver-major, enable
254
+ 'jsx-a11y/anchor-ambiguous-text' : 'off' ,
255
+
256
+ // Enforce that aria-hidden="true" is not set on focusable elements.
257
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/93f78856655696a55309440593e0948c6fb96134/docs/rules/no-aria-hidden-on-focusable.md
258
+ // TODO: semver-major, enable
259
+ 'jsx-a11y/no-aria-hidden-on-focusable' : 'off' ,
260
+
261
+ // Enforces using semantic DOM elements over the ARIA role property.
262
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/93f78856655696a55309440593e0948c6fb96134/docs/rules/prefer-tag-over-role.md
263
+ // TODO: semver-major, enable
264
+ 'jsx-a11y/prefer-tag-over-role' : 'off' ,
250
265
} ,
251
266
} ;
Original file line number Diff line number Diff line change @@ -575,6 +575,18 @@ module.exports = {
575
575
// https://github.com/jsx-eslint/eslint-plugin-react/blob/c42b624d0fb9ad647583a775ab9751091eec066f/docs/rules/jsx-no-leaked-render.md
576
576
// TODO: semver-major, enable
577
577
'react/jsx-no-leaked-render' : 'off' ,
578
+
579
+ // https://github.com/jsx-eslint/eslint-plugin-react/blob/66b58dd4864678eb869a7bf434c72ff7ac530eb1/docs/rules/no-object-type-as-default-prop.md
580
+ // https://github.com/jsx-eslint/eslint-plugin-react/blob/66b58dd4864678eb869a7bf434c72ff7ac530eb1/docs/rules/no-object-type-as-default-prop.md
581
+ // TODO: semver-major, enable
582
+ 'react/no-object-type-as-default-prop' : 'off' ,
583
+
584
+ // https://github.com/jsx-eslint/eslint-plugin-react/blob/66b58dd4864678eb869a7bf434c72ff7ac530eb1/docs/rules/sort-default-props.md
585
+ // https://github.com/jsx-eslint/eslint-plugin-react/blob/66b58dd4864678eb869a7bf434c72ff7ac530eb1/docs/rules/sort-default-props.md
586
+ // TODO: semver-major, enable?
587
+ 'react/sort-default-props' : [ 'off' , {
588
+ ignoreCase : false
589
+ } ] ,
578
590
} ,
579
591
580
592
settings : {
You can’t perform that action at this time.
0 commit comments