-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
60 lines (60 loc) · 1.3 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
{
"extends": [
"google"
],
"parser": "babel-eslint",
"rules": {
"one-var": [
2,
{
"uninitialized": "never",
"initialized": "never"
}
],
"no-multi-spaces": 2,
"no-trailing-spaces": [
2,
{
"skipBlankLines": true
}
],
"quotes": [
2,
"single",
{
"avoidEscape": true
}
],
"comma-dangle": ["error", "never"],
"valid-jsdoc": [
2,
{
"prefer": {
"return": "returns"
},
"requireParamDescription": false,
"requireReturnDescription": false,
"requireReturn": false
}
],
"max-len": 0,
"keyword-spacing": "error",
"no-invalid-this": 0,
// Disallows coercion use like !! or "" + foo. More info: http://eslint.org/docs/rules/no-implicit-coercion
"no-implicit-coercion": 2,
"padded-blocks": 0,
// Begin overrides for google ES2015+ this block could be deleted if we implement ES2015+
"arrow-parens": 0,
"constructor-super": 0,
"generator-star-spacing": 0,
"no-new-symbol": 0,
"no-this-before-super": 0,
"no-var": 0,
"prefer-rest-params": 0,
"prefer-spread": 0,
"rest-spread-spacing": 0,
"yield-star-spacing": 0,
"quote-props": 0
// End ES2015+ overrides
}
}