This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
109 lines (109 loc) · 3.64 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
99
100
101
102
103
104
105
106
107
108
109
{
"extends": ["tslint:all", "tslint-config-prettier"],
"rulesDirectory": ["node_modules/codelyzer"],
"rules": {
"template-banana-in-box": true,
"template-no-negated-async": true,
"component-max-inline-declarations": [
true,
{
"template": 120
}
],
"no-implicit-dependencies": [
true,
[
"@hypertrace/assets-library",
"@hypertrace/common",
"@hypertrace/components",
"@hypertrace/dashboards",
"@ngneat/spectator/jest",
"@hypertrace/common/testing",
"@hypertrace/dashboards/testing",
"@hypertrace/graphql-client",
"@hypertrace/distributed-tracing",
"@hypertrace/test-utils",
"ng-mocks"
]
],
"no-lifecycle-call": true,
"prefer-output-readonly": true,
"no-conflicting-lifecycle": true,
"no-queries-metadata-property": true,
"prefer-inline-decorator": false,
"no-inputs-metadata-property": true,
"no-outputs-metadata-property": true,
"no-host-metadata-property": true,
"use-component-view-encapsulation": true,
"no-attribute-decorator": true,
"no-output-native": true,
"no-input-rename": true,
"no-output-rename": true,
"no-output-on-prefix": true,
"no-forward-ref": true,
"no-unused-css": true,
"use-lifecycle-interface": true,
"contextual-lifecycle": true,
"template-use-track-by-function": false,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true,
"no-pipe-impure": true,
"template-cyclomatic-complexity": [true, 9],
"template-conditional-complexity": [true, 4],
"no-inferrable-types": [true, "ignore-properties", "ignore-params"],
"typedef": [true, "parameter", "call-signature", "property-declaration", "member-variable-declaration"],
"max-file-line-count": [true, 500],
"file-name-casing": [true, "kebab-case"],
"prefer-function-over-method": false,
"interface-name": false,
"array-type": [true, "array"],
"no-non-null-assertion": false,
"member-ordering": false,
"max-classes-per-file": [true, 1, "exclude-class-expressions"],
"object-literal-sort-keys": false,
"no-void-expression": [true, "ignore-arrow-function-shorthand"],
"strict-boolean-expressions": [
true,
"allow-null-union",
"allow-undefined-union",
"ignore-rhs",
"allow-mix",
"allow-boolean-or-undefined",
"allow-enum"
],
"object-literal-shorthand": [true, "never"],
"arrow-parens": false,
"no-magic-numbers": false,
"no-unbound-method": false,
"no-parameter-properties": false,
"no-submodule-imports": false,
"completed-docs": false,
"no-unsafe-any": false,
"no-floating-promises": false,
"no-import-side-effect": [
true,
{
"ignore-module": "(zone\\.js.*|core-js.*)$"
}
],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"ordered-imports": [
true,
{
"grouped-imports": false
}
],
"increment-decrement": false,
"radix": false,
"directive-selector": [true, "attribute", "htc", "camelCase"],
"component-selector": [true, "element", "htc", "test", "kebab-case"],
"binary-expression-operand-order": false,
"no-unused-expression": [true, "allow-fast-null-checks"],
"no-unnecessary-class": [true, "allow-empty-class", "allow-constructor-only"],
"prefer-on-push-component-change-detection": true,
"strict-comparisons": false,
"import-blacklist": [true, "@angular/material", [".*/src/.*"]],
"ban": [true, { "name": "forkJoin", "message": "Use forkJoinSafeEmpty instead" }]
}
}