forked from bgrainger/leeroy-pull-request-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
73 lines (73 loc) · 1.91 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"destructuring": true,
"forOf": true,
"modules": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"spread": true,
"templateStrings": true
},
"env": {
"node": true
},
"extends": [
"eslint:recommended"
],
"rules": {
"arrow-parens": [ 2, "as-needed" ],
"arrow-spacing": [ 2, { "before": true, "after": true } ],
"brace-style": [ 2, "1tbs", { "allowSingleLine": true } ],
"comma-spacing": [ 2, { "before": false, "after": true } ],
"comma-style": [ 2, "last" ],
"consistent-return": 2,
"dot-location": [ 2, "property" ],
"dot-notation": 2,
"eqeqeq": 2,
"global-require": 2,
"indent": [ 2, "tab" ],
"key-spacing": [ 2, { "beforeColon": false, "afterColon": true } ],
"no-caller": 2,
"no-catch-shadow": 2,
"no-const-assign": 2,
"no-invalid-this": 2,
"no-label-var": 2,
"no-lone-blocks": 2,
"no-lonely-if": 2,
"no-mixed-requires": 2,
"no-multi-spaces": 2,
"no-multiple-empty-lines": 2,
"no-nested-ternary": 0,
"no-new-object": 2,
"no-proto": 2,
"no-return-assign": 2,
"no-sequences": 2,
"no-shadow": 2,
"no-spaced-func": 2,
"no-undef-init": 2,
"no-undefined": 2,
"no-unneeded-ternary": 2,
"no-unused-expressions": 2,
"no-use-before-define": [ 2, "nofunc" ],
"no-void": 2,
"no-with": 2,
"object-curly-spacing": [ 2, "always" ],
"object-shorthand": 1,
"padded-blocks": [ 2, "never" ],
"prefer-arrow-callback": 2,
"prefer-const": 2,
"prefer-spread": 2,
"prefer-template": 2,
"semi": [ 2, "always" ],
"semi-spacing": [ 2, { "before": false, "after": true } ],
"space-before-blocks": [ 2, "always" ],
"space-before-keywords": [ 2, "always" ],
"space-in-parens": [ 2, "never" ],
"space-infix-ops": 2,
"space-return-throw-case": 2,
"space-unary-ops": [ 2, { "words": true, "nonwords": false } ],
"strict": [ 2, "global" ]
}
}