Skip to content

Commit baa1344

Browse files
authored
Disable jsx-a11y/label-has-for in recommended
Since there's [issues with this](https://github.com/evcohen/eslint-plugin-jsx-a11y/issues/455) and it's [deprecated](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/label-has-for.md) , it shouldn't be a recommended rule, right?
1 parent e53906d commit baa1344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ module.exports = {
7676
],
7777
},
7878
],
79-
'jsx-a11y/label-has-for': 'error',
79+
'jsx-a11y/label-has-for': 'off',
8080
'jsx-a11y/label-has-associated-control': 'error',
8181
'jsx-a11y/media-has-caption': 'error',
8282
'jsx-a11y/mouse-events-have-key-events': 'error',

0 commit comments

Comments
 (0)