forked from SAP/generator-easy-ui5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
47 lines (45 loc) · 1.21 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":
{
"block-scoped-var": 1,
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"consistent-this": 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,
"keyword-spacing": 2,
"space-unary-ops": 2,
"wrap-iife": [2, "any"],
"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,
},
}