-
Notifications
You must be signed in to change notification settings - Fork 45
/
.eslintrc
53 lines (53 loc) · 1.57 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
{
"env": {
"node": true,
"es6": true
},
"rules": {
"dot-notation": 2,
"indent": [2, 2, {"SwitchCase": 1}],
"no-trailing-spaces": [2, { "skipBlankLines": true }],
"keyword-spacing": [2, {
"overrides": { },
"before": true,
"after": true
}],
"no-delete-var": 2,
"no-label-var": 2,
"no-shadow-restricted-names": 2,
"no-unused-vars": [ 1, { "args": "none" }],
"no-undef": 2,
"no-undef-init": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty": 2,
"no-extra-semi": 2,
"no-func-assign": 2,
"no-invalid-regexp": 2,
"no-unreachable": 2,
"valid-typeof": 2,
"array-callback-return": 2,
"block-scoped-var": 2,
"no-floating-decimal": 2,
"no-lone-blocks": 2,
"no-redeclare": [2, {"builtinGlobals": true}],
"no-return-assign": 2,
"no-sequences": 2,
"no-unused-labels": 2,
"no-useless-concat": 2,
"no-warning-comments": 1,
"radix": 2,
"strict": [2, "global"],
"brace-style": [2, "stroustrup", { "allowSingleLine": true }],
"comma-spacing": ["error", { "before": false, "after": true }],
"comma-style": ["error", "last"],
"eol-last": 2,
"max-statements-per-line": [2, {"max": 2}],
"new-cap": 2,
"new-parens": 2,
"no-lonely-if": 2,
"no-mixed-spaces-and-tabs": 2,
"no-whitespace-before-property": 2
}
}