Skip to content

Commit 91cbe0e

Browse files
authored
Turn off label-has-for in strict rule set
`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 5b35bb0 commit 91cbe0e

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
@@ -265,7 +265,7 @@ module.exports = {
265265
],
266266
},
267267
],
268-
'jsx-a11y/label-has-for': 'error',
268+
'jsx-a11y/label-has-for': 'off',
269269
'jsx-a11y/label-has-associated-control': 'error',
270270
'jsx-a11y/media-has-caption': 'error',
271271
'jsx-a11y/mouse-events-have-key-events': 'error',

0 commit comments

Comments
 (0)