-
Notifications
You must be signed in to change notification settings - Fork 67
/
.eslintrc
91 lines (91 loc) · 2.75 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
82
83
84
85
86
87
88
89
90
91
{
"parser": "babel-eslint",
"env": {
"node": true,
"es6": true
},
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"globalReturn": false,
"jsx": true
},
"rules": {
"comma-dangle": [ 2, "always-multiline" ],
"no-unused-expressions": [ 2 ],
"no-console": [ 2 ],
"consistent-return": [ 2 ],
"default-case": [ 2 ],
"guard-for-in": [ 2 ],
"no-else-return": [ 2 ],
"no-eq-null": [ 2 ],
"no-fallthrough": [ 2 ],
"no-floating-decimal": [ 2 ],
"no-self-compare": [ 2 ],
"no-throw-literal": [ 2 ],
"no-warning-comments": [ 2, { "terms": [ "todo", "fixme" ], "location": "start" } ],
"radix": [ 2 ],
"wrap-iife": [ 2 ],
"curly": [ 2 ],
"strict": [ 2 ],
"no-const-assign": [ 2 ],
"no-catch-shadow": [ 2 ],
"no-delete-var": [ 2 ],
"no-label-var": [ 2 ],
"no-redeclare": [ 2 ],
"no-shadow": [ 2 ],
"no-shadow-restricted-names": [ 2 ],
"no-undef": [ 2 ],
"no-undef-init": [ 2 ],
"no-undefined": [ 2 ],
"no-unused-vars": [ 2, {"args": "none"} ],
"no-use-before-define": [ 2, "nofunc" ],
"no-mixed-requires": [ 2 ],
"no-new-require": [ 2 ],
"no-path-concat": [ 2 ],
"no-restricted-modules": [ 2 ],
"indent": [ 2, 2, { "SwitchCase" : 1 } ],
"brace-style": [ 2, "1tbs" ],
"camelcase": [ 2, { "properties" : "never" } ],
"comma-spacing": [ 2, { "before": false, "after": true } ],
"consistent-this": [ 2, "self" ],
"eol-last": [ 2 ],
"key-spacing": [ 2, { "beforeColon": true, "afterColon": true } ],
"max-nested-callbacks": [ 1, 3 ],
"no-inline-comments": [ 2 ],
"no-lonely-if": [ 2 ],
"no-multiple-empty-lines": [ 2 ],
"no-nested-ternary": [ 2 ],
"quote-props": [ 2, "as-needed" ],
"quotes": [ 2, "single", "avoid-escape" ],
"jsx-quotes": [2, "prefer-single"],
"semi": [ 2, "always" ],
"keyword-spacing": [ 2 ],
"space-before-blocks": [ 2, "always" ],
"space-before-function-paren": [ 2, "never" ],
"object-curly-spacing": [ 2, "always" ],
"array-bracket-spacing": [ 2 ],
"space-infix-ops": [ 2 ],
"space-unary-ops": [ 0, { "nonwords": true } ],
"spaced-comment": [ 2 ],
"no-var": [ 2 ],
"max-depth": [ 2, 2 ],
"max-len": [ 2, 100 ],
"max-params": [ 2, 4 ],
"max-statements": [ 1, 15 ],
"no-bitwise": [ 2 ]
}
}