forked from jaegertracing/jaeger-client-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
30 lines (29 loc) · 835 Bytes
/
.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
{
"extends": ["eslint-config-airbnb", "prettier"],
"env": {
"node": true
},
"rules": {
"indent": [2, 4],
"key-spacing": [2, { "align": "colon", "beforeColon": true, "afterColon": true }],
"prefer-const": [0],
"object-shorthand": [2, "never" ],
"guard-for-in": [2],
"no-param-reassign": [0],
"max-len": [2, 120, 4],
"prefer-rest-params" : [0],
"no-unused-vars": [2, { "vars": "all", "args" : "none" }],
"no-console": [1],
"func-names": [0],
"no-multi-spaces": [2, { "exceptions": {
"AssignmentExpression": true,
"VariableDeclarator": true,
}} ],
"consistent-return": [0],
// Disabled as the "exceptions" clause does not seem to currently work
"spaced-comment": [0],
},
"plugins": {
"flowtype"
}
}