forked from megahertz/electron-simple-updater
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
49 lines (49 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
{
"extends": "airbnb-base",
"env": {
"es6": true,
"mocha": true,
"node": true
},
"rules": {
"arrow-body-style": 0,
"comma-dangle": [2, {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}],
"consistent-return": 0,
"key-spacing": [2, { "beforeColon": false, "afterColon": true, "mode": "minimum" }],
"import/no-extraneous-dependencies": 0,
"max-len": [2, { "code": 80 }],
"no-confusing-arrow": 0,
"no-multi-spaces": [2, {
"exceptions": {
"AssignmentExpression": true,
"AssignmentPattern": true,
"CallExpression": true,
"VariableDeclarator": true
}
}],
"no-param-reassign": 0,
"no-unused-expressions": 0,
"no-use-before-define": 0,
"prefer-destructuring": 0,
"prefer-promise-reject-errors": 0,
"prefer-template": 0,
"semi": [2, "always", { "omitLastInOneLineBlock": true }],
"spaced-comment": [2, "always", {
"line": {
"markers": ["*package", "!", ",", "noinspection", "region", "endregion"]
},
"block": {
"balanced": true,
"markers": ["*package", "!", ","],
"exceptions": ["*"]
}
}],
"strict": 0
}
}