-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
38 lines (38 loc) · 976 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
{
"extend": "eslint:recommended",
"ecmaFeatures": {
"blockBindings": true,
"arrowFunctions": true,
"defaultParams": true,
"forOf": true
},
"env": {
"node": true,
"es6": true
},
"rules": {
"strict": [2, "global"],
"arrow-spacing": [2, { "before": true, "after": true }],
"no-console": 0,
"arrow-parens": [2, "always"],
"eqeqeq": [2, "smart"],
"indent": [2, 2, {SwitchCase: 1}],
"quotes": [2, 'single'],
"linebreak-style": [2, "unix"],
"prefer-arrow-callback": 1,
"no-use-before-define": 0,
"no-unused-vars": 1, // see https://github.com/babel/babel-eslint/issues/21
"semi": [2, "always"],
"yoda": [2, "never"],"no-alert": 2,
"no-const-assign": 2,
"no-this-before-super": 2,
"no-unexpected-multiline": 2,
"no-var": 1,
"no-warning-comments": 0,
"promise/param-names": 1,
"promise/always-return": 0,
},
"plugins": [
"promise"
]
}