-
Notifications
You must be signed in to change notification settings - Fork 12
/
.eslintrc.json
75 lines (75 loc) · 2.44 KB
/
.eslintrc.json
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
66
67
68
69
70
71
72
73
74
75
{
"plugins": ["angular", "lodash"],
"extends": ["strict", "plugin:angular/johnpapa", "plugin:lodash/recommended"],
"parserOptions": {
"ecmaVersion": 8
},
"globals": {
"BANNER_URL": "readonly",
"BUILD_TIME": "readonly",
"DOCUMENTATION_LINK": "readonly",
"GIT_BRANCH": "readonly",
"GIT_COMMIT": "readonly",
"GIT_TAG": "readonly",
"LOCALCHANGES_TTL": "readonly",
"SENTRY_DSN": "readonly",
"SUPPORT_URL": "readonly",
"SWAGGER_LINK": "readonly",
"globalConfig": "readonly",
"addFromModel": "writable",
"_": "readonly",
"angular": "readonly",
"confirm": "readonly",
"document": "readonly",
"download": "readonly",
"location": "readonly",
"moment": "readonly",
"Diff": "readonly",
"saveAs": "readonly",
"store": "readonly",
"window": "readonly",
"CodeMirror": "readonly",
"JSZip": "readonly",
"Sentry": "readonly"
},
"rules": {
"angular/controller-as": 0,
"angular/controller-as-route": 0,
"angular/controller-as-vm": 0,
"angular/file-name": 0,
"angular/function-type": 0,
"angular/no-run-logic": 0,
"array-element-newline": 0,
"camelcase": 0,
"complexity": ["error", 12],
"consistent-this": 0,
"filenames/match-regex": 0,
"func-names": 0,
"func-style": 0,
"id-blacklist": [2, "err", "cb", "callback",
"array", "func", "object", "string", "num", "number",
"foo", "bar", "baz", "bang", "biz", "bong", "tmp", "temp", "thing",
"that", "self", "context" ],
"id-length": [2, {"exceptions": ["$q"]}],
"id-match": 0,
"indent": ["error", 4],
"line-comment-position": 0,
"lodash/prefer-constant": 0,
"lodash/prefer-noop": 0,
"lodash/prefer-lodash-method": 0,
"max-len": ["error", {"code": 330}],
"max-params": 0,
"newline-per-chained-call": 0,
"no-alert": 0,
"no-console": 0,
"no-inline-comments": 0,
"no-magic-numbers": 0,
"no-var": 0,
"no-empty-function": 0,
"object-shorthand": 0,
"prefer-arrow-callback": 0,
"prefer-destructuring": 0,
"quotes": ["error", "single"],
"semi": ["error", "always"]
}
}