forked from SAP/openui5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
59 lines (57 loc) · 1.28 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
{
"env": {
"browser": true
},
"globals": {
"sap": true,
"jQuery": true
},
"plugins": [
"eslint-plugin-openui5"
],
"rules": {
"block-scoped-var": 1,
"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-unused-vars": [2, {"vars":"all", "args":"none"}],
"radix": 2,
"space-after-keywords": [2, "always"],
"space-unary-word-ops": 2,
"wrap-iife": [2, "any"],
"openui5/line-endings": 2,
"camelcase": 1,
"consistent-return": 1,
"max-nested-callbacks": [1, 3],
"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,
"strict": 1,
"valid-jsdoc": [1, {
"requireReturn": false
}],
"default-case": 1,
"dot-notation": 0,
"eol-last": 0,
"eqeqeq": 0,
"no-trailing-spaces": 0,
"no-underscore-dangle": 0,
"quotes": 0,
"key-spacing": 0,
"comma-spacing": 0,
"no-multi-spaces": 0,
"no-shadow": 0,
"no-irregular-whitespace": 0
}
}