Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dad26dc

Browse files
authored
Merge pull request #442 from github/kh-turn-auto-focus-off
Update react.js to turn `jsx-a11y/no-autofocus` off
2 parents 8dfe7e5 + b8b718b commit dad26dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/configs/react.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module.exports = {
1212
'github/a11y-aria-label-is-well-formatted': 'error',
1313
'github/role-supports-aria-props': 'error',
1414
'jsx-a11y/no-aria-hidden-on-focusable': 'error',
15+
'jsx-a11y/no-autofocus': 'off',
1516
'jsx-a11y/anchor-ambiguous-text': [
1617
'error',
1718
{

0 commit comments

Comments
 (0)