diff --git a/lib/configs/react.js b/lib/configs/react.js index 4b2645db..024de613 100644 --- a/lib/configs/react.js +++ b/lib/configs/react.js @@ -22,5 +22,13 @@ module.exports = { words: ['this', 'more', 'read here', 'read more'], }, ], + 'jsx-a11y/no-interactive-element-to-noninteractive-role': [ + 'error', + { + tr: ['none', 'presentation'], + td: ['cell'], // TODO: Remove once https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/937#issuecomment-1638128318 is addressed. + canvas: ['img'], + }, + ], }, }