Skip to content

Commit f14cf2a

Browse files
committed
update jsx-a11y name
1 parent 764eab3 commit f14cf2a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/configs/flat/react.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,29 @@ module.exports = {
1414
},
1515
plugins: {github: fixupPluginRules(github), jsxA11yPlugin},
1616
rules: {
17-
'jsxA11yPlugin/role-supports-aria-props': 'off', // Override with github/a11y-role-supports-aria-props until https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/910 is resolved
17+
'jsx-a11y/role-supports-aria-props': 'off', // Override with github/a11y-role-supports-aria-props until https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/910 is resolved
1818
'github/a11y-aria-label-is-well-formatted': 'error',
1919
'github/a11y-no-visually-hidden-interactive-element': 'error',
2020
'github/a11y-no-title-attribute': 'error',
2121
'github/a11y-svg-has-accessible-name': 'error',
2222
'github/a11y-role-supports-aria-props': 'error',
23-
'jsxA11yPlugin/no-aria-hidden-on-focusable': 'error',
24-
'jsxA11yPlugin/no-autofocus': 'off',
25-
'jsxA11yPlugin/anchor-ambiguous-text': [
23+
'jsx-a11y/no-aria-hidden-on-focusable': 'error',
24+
'jsx-a11y/no-autofocus': 'off',
25+
'jsx-a11y/anchor-ambiguous-text': [
2626
'error',
2727
{
2828
words: ['this', 'more', 'read here', 'read more'],
2929
},
3030
],
31-
'jsxA11yPlugin/no-interactive-element-to-noninteractive-role': [
31+
'jsx-a11y/no-interactive-element-to-noninteractive-role': [
3232
'error',
3333
{
3434
tr: ['none', 'presentation'],
3535
td: ['cell'], // TODO: Remove once https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/937#issuecomment-1638128318 is addressed.
3636
canvas: ['img'],
3737
},
3838
],
39-
'jsxA11yPlugin/no-redundant-roles': [
39+
'jsx-a11y/no-redundant-roles': [
4040
'error',
4141
{
4242
nav: ['navigation'], // default in eslint-plugin-jsx-a11y

0 commit comments

Comments
 (0)