Skip to content

Commit 413e7c8

Browse files
deftomatianschmitz
authored andcommitted
Ignore "jsx-a11y/aria-role" for React components (#7393)
1 parent a21e6b1 commit 413e7c8

File tree

1 file changed

+1
-1
lines changed
  • packages/eslint-config-react-app

1 file changed

+1
-1
lines changed

packages/eslint-config-react-app/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ module.exports = {
288288
'jsx-a11y/aria-activedescendant-has-tabindex': 'warn',
289289
'jsx-a11y/aria-props': 'warn',
290290
'jsx-a11y/aria-proptypes': 'warn',
291-
'jsx-a11y/aria-role': 'warn',
291+
'jsx-a11y/aria-role': ['warn', { ignoreNonDOM: true }],
292292
'jsx-a11y/aria-unsupported-elements': 'warn',
293293
'jsx-a11y/heading-has-content': 'warn',
294294
'jsx-a11y/iframe-has-title': 'warn',

0 commit comments

Comments
 (0)