forked from webex/webex-js-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
65 lines (65 loc) · 1.52 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"env": {
"node": true
},
"extends": "eslint:recommended",
"globals": {
"Promise": false
},
"plugins": [
"mocha"
],
"parser": "babel-eslint",
"root": true,
"rules": {
"brace-style": [2, "stroustrup", { "allowSingleLine": true }],
"camelcase": [2],
"comma-style": [2, "last"],
"complexity": [2, 7],
"curly": [2],
"eqeqeq": [2],
"func-style": [2, "declaration"],
"guard-for-in": [2],
"handle-callback-err": [2],
"quotes": [2, "single", "avoid-escape"],
"max-params": [2, 4],
"max-depth": [2, 5],
"max-statements": [2, 30],
"mocha/no-exclusive-tests": [2],
"new-cap": [2, {
"newIsCap": true,
"capIsNew": true,
"capIsNewExceptions": ["S"]
}],
"no-bitwise": [2],
"no-caller": [2],
"no-catch-shadow": [2],
"no-console": [0],
"no-empty": [2],
"no-extend-native": [2],
"no-inline-comments": [2],
"no-nested-ternary": [2],
"no-shadow": [0],
"no-underscore-dangle": [0],
"no-undef": [2],
"no-unused-expressions": [2],
"no-unused-vars": [2],
"no-use-before-define": [2, "nofunc"],
"quote-props": [2, "as-needed"],
"semi": [2, "always"],
"strict": [0, "global"],
"spaced-comment": [2, "always", {
"markers": ["*!"]
}],
"space-infix-ops": [0],
"wrap-iife": [2],
"valid-jsdoc": [2, {
"prefer": {
"return": "returns"
},
"requireParamDescription": false,
"requireReturn": true,
"requireReturnDescription": false
}]
}
}