-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc
48 lines (48 loc) · 866 Bytes
/
.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
{
"extends": "airbnb-base",
"env": {
"browser": true
},
"globals": {
"ga": true,
"chrome": true
},
"rules": {
"max-len": [
"error",
120
],
"curly": [
"error",
"all"
],
"func-names": "off",
"space-before-function-paren": "off",
"comma-dangle": "off",
"no-param-reassign": "off",
"no-use-before-define": "off",
"prefer-const": "off",
"arrow-parens": "off",
"object-shorthand": "off",
"no-else-return": "off",
"consistent-return": "off",
"object-curly-spacing": [
"error",
"never"
],
"object-curly-newline": [
"error",
{
"ObjectExpression": {
"minProperties": 2
}
}
],
"object-property-newline": [
"error",
{
"allowMultiplePropertiesPerLine": false
}
]
}
}