forked from jimmywarting/wemo-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
37 lines (37 loc) · 1.05 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
{
"env": {
"node": true
},
"extends": "eslint:recommended",
"rules": {
"no-console": 0,
"semi": 2,
"curly": [2, "multi-line"],
"indent": [2, 2],
"quotes": [2, "single"],
"no-unused-vars": [2, {"vars": "all", "args": "none"}],
"handle-callback-err": 1,
"global-require": 1,
"valid-jsdoc": 1,
"keyword-spacing": 1,
"object-curly-spacing": [1, "always"],
"no-spaced-func": 1,
"no-trailing-spaces": 1,
"new-parens": 1,
"new-cap": 1,
"consistent-this": [1, "self"],
"brace-style": 1,
"block-spacing": [1, "always"],
"no-use-before-define": 1,
"no-useless-call": 1,
"no-throw-literal": 1,
"no-invalid-this": 1,
"no-eval": 1,
"no-eq-null": 1,
"spaced-comment": [1, "always"],
"space-before-function-paren": [1, "never"],
"space-in-parens": [1, "never"],
"space-before-blocks": 1,
"comma-spacing": [1, {"before": false, "after": true}]
}
}