Skip to content

Commit 05c3bb0

Browse files
amercierljharb
authored andcommitted
[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).
1 parent d3c7b84 commit 05c3bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-config-airbnb/rules/react-a11y.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717

1818
// Require ARIA roles to be valid and non-abstract
1919
// https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-role.md
20-
'jsx-a11y/aria-role': ['error', { ignoreNonDom: false }],
20+
'jsx-a11y/aria-role': ['error', { ignoreNonDOM: false }],
2121

2222
// Enforce all aria-* props are valid.
2323
// https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-props.md

0 commit comments

Comments
 (0)