forked from mikemintz/rethinkdb-websocket-client
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
49 lines (47 loc) · 1.37 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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"curly": [2, "all"],
"eqeqeq": [2],
"no-caller": [2],
"no-new": [2],
"no-param-reassign": [2],
"no-self-compare": [2],
"no-throw-literal": [2],
"no-undef": [2],
"no-unused-vars": [2, {"vars": "all", "args": "none"}],
"no-use-before-define": [2],
"no-var": [2],
"strict": [2, "never"],
"brace-style": [2, "1tbs"],
"comma-spacing": [2, {"before": false, "after": true}],
"eol-last": [2],
"indent": [2, 2],
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"no-mixed-requires": [2],
"no-mixed-spaces-and-tabs": [2],
"no-trailing-spaces": [2],
"no-underscore-dangle": [2],
"space-before-function-paren": [2, "never"],
"space-after-keywords": [2, "always"],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "never"],
"object-curly-spacing": [2, "never"],
"computed-property-spacing": [2, "never"],
"array-bracket-spacing": [2, "never"],
"space-in-parens": [2, "never"],
"space-infix-ops": [2],
"space-return-throw-case": [2],
"space-unary-ops": [2, {"words": true, "nonwords": false}],
"comma-dangle": [0],
"new-cap": [0],
"no-alert": [0],
"no-underscore-dangle": [0],
"quotes": [0],
}
}