From e0250be7e3cc117a3f2ea006061b2263864f92ec Mon Sep 17 00:00:00 2001 From: rashmi73 Date: Fri, 2 Nov 2018 03:48:42 +0530 Subject: [PATCH] issue_1732 fixed linting issues --- .eslintrc | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 44ac5b2b..71c7f221 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,3 +1,43 @@ { - "extends": "./node_modules/topcoder-react-utils/config/eslint/default.json" + "extends": "./node_modules/topcoder-react-utils/config/eslint/default.json", + "rules": { + "jsx-a11y/label-has-for": [ + 2, + { + "components": [ + "Label" + ], + "required": { + "some": [ + "nesting", + "id" + ] + }, + "allowChildren": false + } + ], + "jsx-a11y/label-has-associated-control": [ + 2, + { + "labelComponents": [ + "CustomLabel" + ], + "labelAttributes": [ + "inputLabel" + ], + "controlComponents": [ + "CustomInput" + ], + "depth": 3 + } + ], + "no-unused-vars": "off", + "no-undef": "off", + "react/jsx-no-undef": [ + false + ], + "react/require-default-props": [ + false + ] + } } \ No newline at end of file pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy