We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 14646af + e0250be commit d6f3edbCopy full SHA for d6f3edb
.eslintrc
@@ -1,3 +1,43 @@
1
{
2
- "extends": "./node_modules/topcoder-react-utils/config/eslint/default.json"
+ "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
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
41
42
43
}
0 commit comments