forked from SAP-archive/connect-openui5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
47 lines (44 loc) · 1 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
{
"env": {
"node": true
},
"rules": {
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"consistent-this": 2,
"global-strict": 2,
"no-div-regex": 2,
"no-floating-decimal": 2,
"no-self-compare": 2,
"no-mixed-spaces-and-tabs": [2, true],
"no-nested-ternary": 2,
"no-trailing-spaces": 2,
"no-unused-vars": [2, {"vars":"all", "args":"none"}],
"quotes": [2, "single"],
"radix": 2,
"space-after-keywords": [2, "always"],
"space-unary-ops": 2,
"wrap-iife": [2, "any"],
"block-scoped-var": 1,
"camelcase": 1,
"consistent-return": 1,
"max-nested-callbacks": [1, 4],
"new-cap": 1,
"no-extra-boolean-cast": 1,
"no-lonely-if": 1,
"no-new": 1,
"no-new-wrappers": 1,
"no-redeclare": 1,
"no-unused-expressions": 1,
"no-use-before-define": [1, "nofunc"],
"no-warning-comments": 1,
"valid-jsdoc": [1, {
"requireReturn": false
}],
"default-case": 1,
"dot-notation": 0,
"eol-last": 2,
"eqeqeq": 0,
"no-underscore-dangle": 0,
"handle-callback-err": 0
}
}