forked from SamuelBolduc/log4js-wrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
54 lines (54 loc) · 1.54 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
{
"parser": "babel-eslint",
"env": {
"browser": false,
"node": true,
"mocha": true
},
"rules": {
"arrow-spacing": [1],
"arrow-parens": [1, "as-needed"],
"brace-style": [1, "1tbs", { "allowSingleLine": true }],
"camelcase": [1],
"curly": [1, "multi-line"],
"eol-last": [0],
"func-style": [1, "declaration"],
"indent": [1, 2, {"VariableDeclarator": { "var": 2, "let": 2, "const": 3}, "SwitchCase": 1}],
"key-spacing": [1, {"beforeColon": false, "afterColon": true}],
"new-parens": [1],
"no-dupe-args": [2],
"no-dupe-keys": [2],
"no-duplicate-case": [2],
"no-ex-assign": [2],
"no-fallthrough": [2],
"no-mixed-requires": [1, true],
"no-multi-spaces": [0],
"no-multiple-empty-lines": [1, {"max": 2}],
"no-shadow": [0],
"no-trailing-spaces": [1, {"skipBlankLines": true}],
"no-undef": [1],
"no-underscore-dangle": [0],
"no-unneeded-ternary": [1],
"no-unreachable": [2],
"no-unused-vars": [1, {"vars": "local"}],
"no-use-before-define": [2, "nofunc"],
"no-var": [1],
"object-shorthand": [1, "always"],
"prefer-arrow-callback": [1],
"prefer-const": [1],
"prefer-spread": [1],
"prefer-template": [1],
"quotes": [1, "single"],
"semi": [1, "always"],
"space-before-blocks": [1],
"space-before-function-paren": [1, "never"],
"space-before-keywords": [1, "always"],
"space-infix-ops": [1],
"space-return-throw-case": [1],
"strict": [1, "global"],
"valid-typeof": [2]
},
"globals": {
"log": true,
}
}