Skip to content

Commit d6f3edb

Browse files
authored
Merge pull request #29 from rashmi73/issue_1732
issue_1732 fixed linting issues
2 parents 14646af + e0250be commit d6f3edb

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

.eslintrc

+41-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
11
{
2-
"extends": "./node_modules/topcoder-react-utils/config/eslint/default.json"
2+
"extends": "./node_modules/topcoder-react-utils/config/eslint/default.json",
3+
"rules": {
4+
"jsx-a11y/label-has-for": [
5+
2,
6+
{
7+
"components": [
8+
"Label"
9+
],
10+
"required": {
11+
"some": [
12+
"nesting",
13+
"id"
14+
]
15+
},
16+
"allowChildren": false
17+
}
18+
],
19+
"jsx-a11y/label-has-associated-control": [
20+
2,
21+
{
22+
"labelComponents": [
23+
"CustomLabel"
24+
],
25+
"labelAttributes": [
26+
"inputLabel"
27+
],
28+
"controlComponents": [
29+
"CustomInput"
30+
],
31+
"depth": 3
32+
}
33+
],
34+
"no-unused-vars": "off",
35+
"no-undef": "off",
36+
"react/jsx-no-undef": [
37+
false
38+
],
39+
"react/require-default-props": [
40+
false
41+
]
42+
}
343
}

0 commit comments

Comments
 (0)