Skip to content

Commit

Permalink
[patch] strict config: Turn off label-has-for
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 authored and ljharb committed Aug 13, 2020
1 parent 20b48a4 commit 8637aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -264,7 +264,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 8637aa7

Please sign in to comment.