-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy path.eslintrc
76 lines (76 loc) · 2.09 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
{
"extends": [
"eslint:recommended"
],
"env": {
"node": true
},
"rules": {
"block-scoped-var": 2,
"brace-style": [2, "1tbs"],
"camelcase": [2, {"properties": "always"}],
"comma-spacing": [2, {"before": false, "after": true}],
"comma-style": [2, "last"],
"computed-property-spacing": [2, "never"],
"curly": [2, "all"],
"dot-notation": 2,
"eol-last": [2, "unix"],
"eqeqeq": [2, "allow-null"],
"global-require": 0,
"indent": [2, 2],
"key-spacing": 2,
"keyword-spacing": 2,
"linebreak-style": [2, "unix"],
"max-statements-per-line": 2,
"new-cap": 2,
"no-array-constructor": 2,
"no-caller": 2,
"no-console": 0,
"no-control-regex": 2,
"no-div-regex": 2,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-bind": 2,
"no-floating-decimal": 2,
"no-implied-eval": 2,
"no-implicit-globals": 2,
"no-mixed-spaces-and-tabs": 2,
"no-multiple-empty-lines": [2, {"max": 2, "maxEOF": 1}],
"no-native-reassign": 2,
"no-new-func": 2,
"no-new-object": 2,
"no-new-wrappers": 2,
"no-octal-escape": 2,
"no-self-assign": 2,
"no-self-compare": 2,
"no-sequences": 2,
"no-shadow-restricted-names": 2,
"no-spaced-func": 2,
"no-throw-literal": 2,
"no-trailing-spaces": 2,
"no-undef": 2,
"no-undefined": 2,
"no-unneeded-ternary": 2,
"no-unused-expressions": [2, {"allowShortCircuit": true, "allowTernary": true}],
"no-unused-vars": 2,
"no-use-before-define": 2,
"no-useless-call": 2,
"no-useless-escape": 2,
"no-whitespace-before-property": 2,
"no-with": 2,
"one-var": [2, "never"],
"operator-linebreak": [2, "after"],
"quote-props": [2, "as-needed"],
"quotes": [2, "single", {"avoidEscape": true}],
"semi": [2, "always"],
"semi-spacing": [2, {"before": false, "after": true}],
"space-before-blocks": 2,
"space-before-function-paren": 2,
"space-in-parens": [2, "never"],
"space-infix-ops": 2,
"space-unary-ops": 2,
"spaced-comment": 2,
"strict": [2, "safe"],
"wrap-iife": [2, "inside"]
}
}