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 7777 "eslint" : " ^7.32.0 || ^8.2.0" ,
7878 "eslint-find-rules" : " ^4.1.0" ,
7979 "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 " ,
8282 "eslint-plugin-react-hooks" : " ^4.6.0" ,
8383 "in-publish" : " ^2.0.1" ,
8484 "react" : " >= 0.13.0" ,
8888 "peerDependencies" : {
8989 "eslint" : " ^7.32.0 || ^8.2.0" ,
9090 "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 " ,
9393 "eslint-plugin-react-hooks" : " ^4.6.0"
9494 },
9595 "engines" : {
Original file line number Diff line number Diff line change @@ -247,5 +247,20 @@ module.exports = {
247247 } ,
248248 allowChildren : false ,
249249 } ] ,
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' ,
250265 } ,
251266} ;
Original file line number Diff line number Diff line change @@ -575,6 +575,18 @@ module.exports = {
575575 // https://github.com/jsx-eslint/eslint-plugin-react/blob/c42b624d0fb9ad647583a775ab9751091eec066f/docs/rules/jsx-no-leaked-render.md
576576 // TODO: semver-major, enable
577577 '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+ } ] ,
578590 } ,
579591
580592 settings : {
You can’t perform that action at this time.
0 commit comments