Skip to content

Commit

Permalink
Merge pull request #460 from github/kh-temp-override-grid-cell
Browse files Browse the repository at this point in the history
Set config override for false positive rule
  • Loading branch information
khiga8 committed Jul 17, 2023
2 parents 209d482 + 43bdeaf commit 83f90f0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/configs/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
},
],
},
}

0 comments on commit 83f90f0

Please sign in to comment.