forked from msimerson/log-ship-elastic-postfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
45 lines (45 loc) · 1.12 KB
/
.eslintrc.json
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
{
"env": {
"node": true,
"es6": true,
"mocha": true
},
"extends": [ "eslint:recommended" ],
"rules": {
"brace-style": [2, "stroustrup", { "allowSingleLine": true }],
"consistent-return": 0,
"curly": [1, "multi-line"],
"dot-notation": 2,
"eqeqeq": 2,
"indent": [2, 2, {"SwitchCase": 1}],
"max-len": [2, 90, 4, {
"ignoreComments": true,
"ignoreUrls": true,
"ignorePattern": "\\/"
}
],
"no-multiple-empty-lines": 2,
"no-throw-literal": 2,
"no-underscore-dangle": 0,
"no-use-before-define": [2, "nofunc"],
"object-curly-spacing": [2, "always"],
"quote-props": [2, "as-needed"],
"quotes": [1, "single"],
"radix": 2,
"semi-spacing": 2,
"keyword-spacing": [2, {
"overrides": { },
"before": true,
"after": true
}],
"space-in-parens": [2, "never"],
"space-unary-ops": [2, {
"words": true,
"nonwords": false
}],
"no-trailing-spaces": [2, { "skipBlankLines": false }],
"wrap-iife": [2, "inside"],
"no-console": 0,
"no-empty": ["error", { "allowEmptyCatch": true }]
}
}