From 8637aa7402a3afcebea77860a171996d483b5289 Mon Sep 17 00:00:00 2001 From: Jan Monschke Date: Thu, 13 Aug 2020 11:37:22 +0200 Subject: [PATCH] [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 --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 2b1f4c4c8..ee4a6ef64 100644 --- a/src/index.js +++ b/src/index.js @@ -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',