Skip to content

Commit

Permalink
Turn off label-has-for in strict rule set
Browse files Browse the repository at this point in the history
`label-has-for` has been deprecated and is already turned off in the recommended rule set.
Context: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/label-has-for.md
  • Loading branch information
janmonschke committed Aug 13, 2020
1 parent 5b35bb0 commit 91cbe0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -265,7 +265,7 @@ module.exports = {
],
},
],
'jsx-a11y/label-has-for': 'error',
'jsx-a11y/label-has-for': 'off',
'jsx-a11y/label-has-associated-control': 'error',
'jsx-a11y/media-has-caption': 'error',
'jsx-a11y/mouse-events-have-key-events': 'error',
Expand Down

0 comments on commit 91cbe0e

Please sign in to comment.