forked from elpheria/rpc-websockets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
48 lines (48 loc) · 1.71 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
{
"env": {
"es6": true,
"node": true,
"browser": true,
"mocha": true
},
"parser": "babel-eslint",
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"brace-style": [ "error", "allman", { "allowSingleLine": true } ],
"indent": [ "error", 4 ],
"linebreak-style": [ "error", "unix" ],
"quotes": [ "error", "double" ],
"semi": [ "error", "never" ],
"comma-spacing": [ "error" ],
"comma-style": [ "error" ],
"func-call-spacing": [ "error" ],
"key-spacing": [ "error" ],
"keyword-spacing": [ "error" ],
"lines-around-comment": [ "error", { "beforeBlockComment": false, "afterBlockComment": false } ],
"lines-around-directive": [ "error" ],
"max-len": [ "error", 100 ],
"new-cap": [ "error" ],
"no-console": 0,
"no-multiple-empty-lines": [ "error", { "max": 1 } ],
"no-tabs": [ "error" ],
"no-trailing-spaces": [ "error" ],
"no-whitespace-before-property": [ "error" ],
"operator-linebreak": [ "error" ],
"require-jsdoc": [ "error" ],
"valid-jsdoc": [ "error", { "requireReturnDescription": false } ],
"semi-spacing": [ "error", { "before": false, "after": true } ],
"space-before-blocks": [ "error" ],
"space-in-parens": [ "error" ],
"space-infix-ops": [ "error" ],
"space-unary-ops": [ "error" ],
"spaced-comment": [ "error" ],
"arrow-parens": [ "error" ],
"arrow-spacing": [ "error" ],
"no-duplicate-imports": [ "error" ],
"prefer-const": [ "error" ],
"no-cond-assign": 0
}
}