Skip to content

Commit 83f90f0

Browse files
authored
Merge pull request #460 from github/kh-temp-override-grid-cell
Set config override for false positive rule
2 parents 209d482 + 43bdeaf commit 83f90f0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/configs/react.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,13 @@ module.exports = {
2222
words: ['this', 'more', 'read here', 'read more'],
2323
},
2424
],
25+
'jsx-a11y/no-interactive-element-to-noninteractive-role': [
26+
'error',
27+
{
28+
tr: ['none', 'presentation'],
29+
td: ['cell'], // TODO: Remove once https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/937#issuecomment-1638128318 is addressed.
30+
canvas: ['img'],
31+
},
32+
],
2533
},
2634
}

0 commit comments

Comments
 (0)