Skip to content

Commit

Permalink
Merge pull request #531 from github/kh-set-exception-on-rule
Browse files Browse the repository at this point in the history
Provide `no-redundant-roles` exception for `rowgroup`
  • Loading branch information
khiga8 authored Jun 4, 2024
2 parents 948bc6a + ec76d1c commit 8d9ed4f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/configs/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,13 @@ module.exports = {
fieldset: ['radiogroup', 'presentation'],
},
],
'jsx-a11y/no-redundant-roles': [
'error',
{
nav: ['navigation'], // default in eslint-plugin-jsx-a11y
tbody: ['rowgroup'],
thead: ['rowgroup'],
},
],
},
}

0 comments on commit 8d9ed4f

Please sign in to comment.