File tree Expand file tree Collapse file tree 1 file changed +41
-1
lines changed Expand file tree Collapse file tree 1 file changed +41
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
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
+ }
3
43
}
You can’t perform that action at this time.
0 commit comments