-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
38 lines (34 loc) · 818 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
{
"env": {
"browser": true,
},
"extends": "airbnb/legacy",
"ecmaFeatures": {
"arrowFunctions": true,
"destructuring": true,
"classes": true,
"defaultParams": true,
"blockBindings": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"restParams": true,
"spread": true,
"forOf": true,
"generators": true,
"templateStrings": true,
"superInFunctions": true,
"experimentalObjectRestSpread": true
},
"rules": {
no-debugger: 0,
no-console: 0,
vars-on-top: 0,
func-names: 0,
semi: [2, "never"],
comma-dangle: [2, "never"],
max-len: [2, 160, 2, {"ignoreUrls": true}],
no-param-reassign: [2, { "props": false }]
}
}