From 05c3bb0018fcd46a41fec07a1308075c7aaea197 Mon Sep 17 00:00:00 2001 From: Alex Mercier Date: Fri, 23 Oct 2020 13:30:37 +0100 Subject: [PATCH] [eslint config] [patch] Fix ignoreNonDOM typo in jsx-a11y/aria-role rule This should be `ignoreNonDOM` not `ignoreNonDom` according to [documentation](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-role.md). --- packages/eslint-config-airbnb/rules/react-a11y.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config-airbnb/rules/react-a11y.js b/packages/eslint-config-airbnb/rules/react-a11y.js index 85485b03bb..f48ebdbb4a 100644 --- a/packages/eslint-config-airbnb/rules/react-a11y.js +++ b/packages/eslint-config-airbnb/rules/react-a11y.js @@ -17,7 +17,7 @@ module.exports = { // Require ARIA roles to be valid and non-abstract // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-role.md - 'jsx-a11y/aria-role': ['error', { ignoreNonDom: false }], + 'jsx-a11y/aria-role': ['error', { ignoreNonDOM: false }], // Enforce all aria-* props are valid. // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-props.md