-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc
More file actions
56 lines (56 loc) · 2.36 KB
/
.eslintrc
File metadata and controls
56 lines (56 loc) · 2.36 KB
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
{
"parser": "espree",
"extends": "eslint:recommended",
"env": {
"node": true,
"mocha": true
},
"rules": {
"array-bracket-spacing": [2, "never"],
"block-scoped-var": [2],
"block-spacing": [0],
"brace-style": [2, "1tbs"],
"callback-return": [2, ["callback", "cb", "next", "done"]],
"camelcase": [2, {"properties": "always"}],
"comma-spacing": [2, {"before": false, "after": true}],
"comma-style": [2, "last"],
"computed-property-spacing": [2, "never"],
"consistent-this": [2, "self"],
"curly": [2],
"dot-notation": [0],
"eol-last": [2],
"eqeqeq": [1, "smart"],
"func-names": [0],
"func-style": [2, "expression"],
"handle-callback-err": [2],
"indent": [2, 2, {"SwitchCase": 1}],
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"linebreak-style": [2, "unix"],
"lines-around-comment": [0],
"max-depth": [2, 4],
"no-console": [1],
"no-else-return": [2],
"no-loop-func": [2],
"no-mixed-requires": [2],
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
"no-multiple-empty-lines": [1, {"max": 2}],
"no-return-assign": [2, "always"],
"no-spaced-func": [2],
"no-trailing-spaces": [2],
"no-unexpected-multiline": [1],
"object-curly-spacing": [2, "always"],
"one-var": [2, "never"],
"padded-blocks": [0],
"semi": [1, "always"],
"sort-vars": [2, { "ignoreCase": true }],
"space-after-keywords": [2, "always"],
"space-before-blocks": [0],
"space-before-function-paren": [1, "never"],
"space-before-keywords": [2, "always"],
"space-in-parens": [2, "never"],
"space-infix-ops": [2],
"space-return-throw-case": [2],
"space-unary-ops": [1, { "words": true, "nonwords": false }],
"spaced-comment": [0],
}
}