Skip to content

Commit 8637aa7

Browse files
janmonschkeljharb
authored andcommittedAug 13, 2020
[patch] strict config: Turn off label-has-for
`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
1 parent 20b48a4 commit 8637aa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ module.exports = {
264264
],
265265
},
266266
],
267-
'jsx-a11y/label-has-for': 'error',
267+
'jsx-a11y/label-has-for': 'off',
268268
'jsx-a11y/label-has-associated-control': 'error',
269269
'jsx-a11y/media-has-caption': 'error',
270270
'jsx-a11y/mouse-events-have-key-events': 'error',

0 commit comments

Comments
 (0)
Please sign in to comment.