From 0688f9533f8d6fff3c0a5af4219e8be4795dbc07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Szabo?= Date: Fri, 19 Jul 2019 15:36:33 +0200 Subject: [PATCH] Ignore "jsx-a11y/aria-role" for React components --- packages/eslint-config-react-app/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config-react-app/index.js b/packages/eslint-config-react-app/index.js index c4b0289e1fb..a0fe92ee574 100644 --- a/packages/eslint-config-react-app/index.js +++ b/packages/eslint-config-react-app/index.js @@ -286,7 +286,7 @@ module.exports = { 'jsx-a11y/aria-activedescendant-has-tabindex': 'warn', 'jsx-a11y/aria-props': 'warn', 'jsx-a11y/aria-proptypes': 'warn', - 'jsx-a11y/aria-role': 'warn', + 'jsx-a11y/aria-role': ['warn', { ignoreNonDOM: true }], 'jsx-a11y/aria-unsupported-elements': 'warn', 'jsx-a11y/heading-has-content': 'warn', 'jsx-a11y/iframe-has-title': 'warn',