Skip to content

Commit

Permalink
[eslint config] [patch] Fix ignoreNonDOM typo in jsx-a11y/aria-role rule
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
amercier authored and ljharb committed Oct 23, 2020
1 parent d3c7b84 commit 05c3bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config-airbnb/rules/react-a11y.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05c3bb0

Please sign in to comment.