-
Notifications
You must be signed in to change notification settings - Fork 152
/
.eslintrc
27 lines (27 loc) · 1023 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
{
"env": {
"node": true,
"mocha": true
},
"rules": {
"array-bracket-spacing": [2, "never"],
"callback-return": [2, ["callback", "cb", "next", "done", "proceed"]],
"camelcase": [2, {"properties": "always"}],
"comma-style": [2, "last"],
"curly": [2],
"eqeqeq": [1, "smart"],
"eol-last": [2],
"handle-callback-err": [2],
"indent": [2, 2, {"SwitchCase": 1}],
"linebreak-style": [2, "unix"],
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
"no-return-assign": [2, "always"],
"no-sequences": [2],
"no-trailing-spaces": [2],
"no-undef": [2],
"no-unexpected-multiline": [1],
"no-unused-vars": [2],
"one-var": [2, "never"],
"semi": [1, "always"]
}
}