-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
48 lines (44 loc) · 875 Bytes
/
index.js
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
module.exports = {
"parser": "babel-eslint",
"extends": ["standard"],
"env": {
"es6": true
},
"plugins": ["import", "promise", "babel"],
"rules": {
"arrow-parens": [
"error",
"always"
],
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
"internal",
"parent",
"sibling",
"index"
]
}
],
"curly": [
"error",
"multi-line",
"consistent"
],
"import/no-extraneous-dependencies": 0,
"import/no-unassigned-import": 0,
"no-var": "error",
"object-curly-spacing": [
"error",
"always"
],
"promise/catch-or-return": "error",
"promise/no-return-wrap": "error",
"promise/param-names": "error",
"promise/no-native": "off",
"promise/no-nesting": "warn"
}
}