This repository has been archived by the owner on Aug 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
81 lines (81 loc) · 2.34 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
74
75
76
77
78
79
80
81
{
"rules": {
"no-cond-assign": 2,
"no-console": 1,
"no-constant-condition": 2,
"no-delete-var": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty": 1,
"no-empty-character-class": 2,
"no-extra-bind": 2,
"no-extra-semi": 2,
"no-extra-parens": 1,
"no-fallthrough": 2,
"no-func-assign": 2,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-multi-spaces": 2,
"no-new-func": 2,
"no-new-object": 2,
"no-path-concat": 2,
"callback-return": 1,
"no-process-exit": 2,
"no-redeclare": 2,
"no-shadow": 1,
"no-spaced-func": 2,
"no-trailing-spaces": 2,
"no-undef": 2,
"no-unused-vars": [1, {"vars": "local", "args": "after-used"}],
"no-underscore-dangle": 0,
"no-use-before-define": [2, "nofunc"],
"arrow-parens": [2, "always"],
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"camelcase": 0,
"comma-spacing": [2, {"before": false, "after": true}],
"comma-dangle": [2, "never"],
"consistent-return": 0,
"consistent-this": [2, "self"],
"curly": [2, "all"],
"dot-notation": [2, {"allowKeywords": true}],
"eol-last": 2,
"eqeqeq": [2, "smart"],
"indent": [2, 2, {"SwitchCase": 1}],
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"keyword-spacing": 2,
"new-parens": 2,
"newline-per-chained-call": 0,
"no-extra-label": 2,
"no-unused-labels": 2,
"no-new-symbol": 2,
"no-restricted-imports": [2, "lodash", "underscore"],
"no-useless-constructor": 2,
"template-curly-spacing": [2, "never"],
"operator-linebreak": [2, "after"],
"quotes": [2, "single"],
"semi": [2, "always"],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "never"],
"object-curly-spacing": [2, "never"],
"array-bracket-spacing": [2, "never"],
"computed-property-spacing": [2, "never"],
"space-infix-ops": 2,
"space-unary-ops": [2, {"words": true, "nonwords": false}],
"spaced-comment": [2, "always"],
"strict": [2, "global"],
"valid-typeof": 2,
"yoda": [2, "never"],
"valid-jsdoc": [1, {
"requireReturn": false,
"requireReturnDescription": false,
"requireParamDescription": false,
"prefer": {
"returns": "return"
}
}]
},
"env": {
"node": true
}
}