forked from wfp/designsystem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
62 lines (62 loc) · 1.21 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"extends": [
"react-app",
"plugin:jsx-a11y/recommended"
],
"plugins": [
"react",
"jsdoc",
"jsx-a11y"
],
"rules": {
"no-console": 2,
"react/jsx-uses-vars": 1,
"react/jsx-uses-react": 1,
"react/no-find-dom-node": 1,
"import/no-webpack-loader-syntax": "off",
"jsdoc/check-param-names": 2,
"jsdoc/check-tag-names": 2,
"jsdoc/check-types": 2,
"jsx-a11y/no-static-element-interactions": 1,
"jsx-a11y/no-noninteractive-element-interactions": 1,
"jsx-a11y/click-events-have-key-events": 1,
"jsx-a11y/anchor-is-valid": 1,
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/interactive-supports-focus": 1,
"jsx-a11y/label-has-for": [
1,
{
"components": [
"Label"
],
"required": {
"some": [
"nesting",
"id"
]
},
"allowChildren": true
}
]
},
"env": {
"node": true,
"browser": true,
"es6": true,
"jest": true,
"jasmine": true
},
"globals": {
"__DEV__": true
},
"settings": {
"jsdoc": {
"tagNamePreference": {
"augments": "extends"
}
},
"react": {
"version": "detect",
}
}
}