forked from oberschlauberger/appdynamics-grafana-datasource
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathtslint.json
98 lines (98 loc) · 2.44 KB
/
tslint.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"extends": "tslint:latest",
"rules": {
"no-console": false,
"arrow-return-shorthand": true,
"await-promise": true,
"ban": [
true, ["window", "isNaN", "You can use Number.isNan() instead of isNaN()"]
],
"max-classes-per-file": false,
"comment-format": [
true,
"check-uppercase",
"check-space",
{
"ignore-words": ["TODO"]
}
],
"cyclomatic-complexity": [
true,
15
],
"import-blacklist": [
true,
"rxjs",
"lodash"
],
"max-file-line-count": [
true,
600
],
"max-line-length": [
true,
160
],
"member-access": false,
"member-ordering": [
true,
{
"order": "instance-sandwich"
}
],
"no-any": false,
"no-floating-promises": [
true,
"JQueryPromise",
"Bluebird"
],
"no-for-in-array": true,
"no-inferrable-types": false,
"no-magic-numbers": false,
"no-mergeable-namespace": true,
"no-misused-new": true,
"no-namespace": [
true,
"allow-declarations"
],
"no-switch-case-fall-through": true,
"no-unbound-method": true,
"no-unnecessary-initializer": true,
"no-void-expression": true,
"object-literal-sort-keys": false,
"ordered-imports": [
true,
{
"import-sources-order": "any",
"named-imports-order": "case-insensitive"
}
],
"prefer-function-over-method": [
true,
"allow-public"
],
"prefer-method-signature": true,
"promise-function-async": true,
"quotemark": [
true,
"single",
"avoid-escape"
],
"restrict-plus-operands": true,
"strict-boolean-expressions": true,
"strict-type-predicates": true,
"trailing-comma": [
true,
{
"multiline": "never",
"singleline": "never"
}
],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore"
]
}
}