Skip to content

Commit 8d9ed4f

Browse files
authored
Merge pull request #531 from github/kh-set-exception-on-rule
Provide `no-redundant-roles` exception for `rowgroup`
2 parents 948bc6a + ec76d1c commit 8d9ed4f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/configs/react.js

+8
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,13 @@ module.exports = {
4242
fieldset: ['radiogroup', 'presentation'],
4343
},
4444
],
45+
'jsx-a11y/no-redundant-roles': [
46+
'error',
47+
{
48+
nav: ['navigation'], // default in eslint-plugin-jsx-a11y
49+
tbody: ['rowgroup'],
50+
thead: ['rowgroup'],
51+
},
52+
],
4553
},
4654
}

0 commit comments

Comments
 (0)