-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
45 lines (45 loc) · 1.01 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"node": true,
"es6": true,
"mocha": true,
"jest": true
},
"globals": {
"localStorage": true,
"$": true,
"window": true,
"document": true,
"methodSpy": true
},
"rules": {
"strict": 0,
"jsx-a11y/anchor-is-valid": 0,
"jsx-a11y/label-has-for": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-static-element-interactions": 0,
"import/no-named-as-default": 0,
"import/no-extraneous-dependencies": 0,
"no-confusing-arrow": 0,
"valid-jsdoc": ["error", {
"requireReturn": true,
"requireReturnType": true,
"requireParamDescription": false,
"requireReturnDescription": true
}],
"require-jsdoc": ["error", {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true
}
}],
"max-len": ["error", {
"code": 80,
"ignoreStrings": true
}
]
}
}