From 48233469b290fd07884c16c87107c22dce3cf8fb Mon Sep 17 00:00:00 2001 From: Kate Higa <16447748+khiga8@users.noreply.github.com> Date: Wed, 12 Jul 2023 17:25:52 -0400 Subject: [PATCH] Update names --- lib/configs/react.js | 2 +- lib/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/configs/react.js b/lib/configs/react.js index 68eda59a..523e8805 100644 --- a/lib/configs/react.js +++ b/lib/configs/react.js @@ -10,7 +10,7 @@ module.exports = { rules: { 'jsx-a11y/role-supports-aria-props': 'off', // Override with github/role-supports-aria-props until https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/910 is resolved 'github/a11y-aria-label-is-well-formatted': 'error', - 'github/role-supports-aria-props': 'error', + 'github/a11y-role-supports-aria-props': 'error', 'jsx-a11y/no-aria-hidden-on-focusable': 'error', 'jsx-a11y/no-autofocus': 'off', 'jsx-a11y/anchor-ambiguous-text': [ diff --git a/lib/index.js b/lib/index.js index c4a8b3ee..a959594c 100644 --- a/lib/index.js +++ b/lib/index.js @@ -2,6 +2,7 @@ module.exports = { rules: { 'a11y-no-generic-link-text': require('./rules/a11y-no-generic-link-text'), 'a11y-aria-label-is-well-formatted': require('./rules/a11y-aria-label-is-well-formatted'), + 'a11y-role-supports-aria-props': require('./rules/a11y-role-supports-aria-props'), 'array-foreach': require('./rules/array-foreach'), 'async-currenttarget': require('./rules/async-currenttarget'), 'async-preventdefault': require('./rules/async-preventdefault'), @@ -18,7 +19,6 @@ module.exports = { 'no-then': require('./rules/no-then'), 'no-useless-passive': require('./rules/no-useless-passive'), 'prefer-observers': require('./rules/prefer-observers'), - 'role-supports-aria-props': require('./rules/role-supports-aria-props'), 'require-passive-events': require('./rules/require-passive-events'), 'unescaped-html-literal': require('./rules/unescaped-html-literal'), },