This repository has been archived by the owner on Mar 1, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
66 lines (60 loc) · 1.56 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
{
"env": {
"node": true,
"browser": true
},
"plugins": [
"no-use-extend-native"
],
"rules": {
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-extra-semi": 2,
"no-extra-parens": 2,
"no-unreachable": 2,
"curly": [2, "all"],
"eqeqeq": [2, "smart"],
"no-floating-decimal": 2,
"no-multi-spaces": 2,
"no-multi-str": 2,
"no-redeclare": 2,
"no-self-compare": 2,
"no-sequences": 2,
"no-useless-call": 2,
"radix": 2,
"vars-on-top": 2,
"wrap-iife": [2, "outside"],
"strict": [2, "global"],
"no-shadow": 2,
"no-undef-init": 2,
"no-undef": 2,
"no-unused-vars": [2, {"vars": "all", "args": "none"}],
"no-use-before-define": 2,
"no-new-require": 2,
"brace-style": [2, "stroustrup"],
"comma-spacing": [2, {"before": false, "after": true}],
"comma-style": [2, "last"],
"indent": [2, 2],
"new-cap": 2,
"new-parens": 2,
"no-mixed-spaces-and-tabs": 2,
"no-multiple-empty-lines": [2, {"max": 2}],
"no-nested-ternary": 2,
"no-new-object": 2,
"no-spaced-func": 2,
"no-trailing-spaces": 2,
"no-unneeded-ternary": 2,
"object-curly-spacing": [2, "always"],
"one-var": [2, "never"],
"operator-linebreak": [2, "after"],
"quote-props": [2, "as-needed"],
"quotes": [2, "single"],
"semi-spacing": [2, {"before": false, "after": true}],
"semi": [2, "always"],
"space-before-function-paren": [2, "never"],
"space-in-parens": [2, "never"],
"space-infix-ops": 2,
"spaced-comment": [2, "always"],
"wrap-regex": 2
}
}