Skip to content

Commit e2d8376

Browse files
authored
feat: Replace 'jsx-a11y/role-supports-aria-props' with 'github/role-supports-aria-props' in the React config
1 parent ca32268 commit e2d8376

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/configs/react.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ module.exports = {
88
plugins: ['github', 'jsx-a11y'],
99
extends: ['plugin:jsx-a11y/recommended'],
1010
rules: {
11-
'github/a11y-no-generic-link-text': 'error'
11+
'github/a11y-no-generic-link-text': 'error',
12+
'github/role-supports-aria-props': 'error',
13+
'jsx-a11y/role-supports-aria-props': 'off'
1214
}
1315
}

0 commit comments

Comments
 (0)