From ec76d1c8facf8865c506b820eab7b730419bf67d Mon Sep 17 00:00:00 2001 From: Kate Higa <16447748+khiga8@users.noreply.github.com> Date: Tue, 4 Jun 2024 14:13:17 -0400 Subject: [PATCH] Provide exception for rowgroup --- lib/configs/react.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/configs/react.js b/lib/configs/react.js index a63c80ff..93043ea1 100644 --- a/lib/configs/react.js +++ b/lib/configs/react.js @@ -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'], + }, + ], }, }