Skip to content

Commit

Permalink
remove resolved rules
Browse files Browse the repository at this point in the history
  • Loading branch information
gracepark committed Nov 12, 2024
1 parent 305c0e2 commit 2c0f2cf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
12 changes: 0 additions & 12 deletions lib/configs/flat/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,6 @@ module.exports = {
canvas: ['img'],
},
],
// Remove once https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/950 is shipped.
'jsxA11yPlugin/no-noninteractive-element-to-interactive-role': [
'error',
{
ul: ['listbox', 'menu', 'menubar', 'radiogroup', 'tablist', 'tree', 'treegrid'],
ol: ['listbox', 'menu', 'menubar', 'radiogroup', 'tablist', 'tree', 'treegrid'],
li: ['menuitem', 'menuitemradio', 'menuitemcheckbox', 'option', 'row', 'tab', 'treeitem'],
table: ['grid'],
td: ['gridcell'],
fieldset: ['radiogroup', 'presentation'],
},
],
'jsxA11yPlugin/no-redundant-roles': [
'error',
{
Expand Down
12 changes: 0 additions & 12 deletions lib/configs/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,6 @@ module.exports = {
canvas: ['img'],
},
],
// Remove once https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/950 is shipped.
'jsx-a11y/no-noninteractive-element-to-interactive-role': [
'error',
{
ul: ['listbox', 'menu', 'menubar', 'radiogroup', 'tablist', 'tree', 'treegrid'],
ol: ['listbox', 'menu', 'menubar', 'radiogroup', 'tablist', 'tree', 'treegrid'],
li: ['menuitem', 'menuitemradio', 'menuitemcheckbox', 'option', 'row', 'tab', 'treeitem'],
table: ['grid'],
td: ['gridcell'],
fieldset: ['radiogroup', 'presentation'],
},
],
'jsx-a11y/no-redundant-roles': [
'error',
{
Expand Down

0 comments on commit 2c0f2cf

Please sign in to comment.