Skip to content

Commit

Permalink
Add override to avoid flagging false positives
Browse files Browse the repository at this point in the history
  • Loading branch information
khiga8 committed Jul 17, 2023
1 parent 8c55f4b commit ed6880e
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 ed6880e

Please sign in to comment.