From 2c0f2cf9eee2f25e0c3eb2a875d93923d697f4c5 Mon Sep 17 00:00:00 2001 From: Grace Park Date: Tue, 12 Nov 2024 09:46:11 -0800 Subject: [PATCH] remove resolved rules --- lib/configs/flat/react.js | 12 ------------ lib/configs/react.js | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/lib/configs/flat/react.js b/lib/configs/flat/react.js index d973c717..8d2e0f80 100644 --- a/lib/configs/flat/react.js +++ b/lib/configs/flat/react.js @@ -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', { diff --git a/lib/configs/react.js b/lib/configs/react.js index 93043ea1..f5b29829 100644 --- a/lib/configs/react.js +++ b/lib/configs/react.js @@ -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', {