-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
48 lines (48 loc) · 1.06 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
{
"parser" : "babel-eslint",
"extends" : [
"standard",
"standard-react"
],
"env" : {
"browser" : true
},
"globals" : {
"Action" : false,
"__DEV__" : false,
"__PROD__" : false,
"__DEBUG__" : false,
"__COVERAGE__" : false,
"__BASENAME__" : false,
"React" : true,
"ReactDOM" : true,
"$" : true,
"it" : true,
"expect" : true,
"should" : true,
"describe" : true,
"beforeEach" : true,
"afterEach" : true,
"before" : true,
"after" : true,
"sinon" : true,
"context" : true
},
"plugins": [
"mocha"
],
"rules": {
"mocha/no-exclusive-tests": "error",
"react/no-unused-prop-types": 0,
"semi" : [2, "never"],
"max-len": [2, 120, 2],
"no-duplicate-imports": 0,
"generator-star-spacing": 0,
"react/jsx-boolean-value": 0,
"require-jsdoc": 2,
"valid-jsdoc": [2, {
"requireParamDescription": false,
"requireReturnDescription": false
}]
}
}