forked from ngneat/spectator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
154 lines (154 loc) · 3.87 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"extends": "tslint:all",
"rulesDirectory": [
"codelyzer"
],
"rules": {
"align": [
true,
"parameters",
"statements",
"members",
"elements"
],
"array-type": [
true,
"array"
],
"arrow-return-shorthand": false,
"binary-expression-operand-order": false,
"comment-format": [
true,
"check-space"
],
"comment-type": false,
"completed-docs": false,
"file-name-casing": false,
"increment-decrement": false,
"interface-name": false,
"max-classes-per-file": false,
"max-line-length": [
true,
140
],
"member-access": [
true,
"check-accessor"
],
"member-ordering": [
true,
{
"order": "instance-sandwich"
}
],
"newline-per-chained-call": false,
"no-angle-bracket-type-assertion": false,
"no-any": false,
"no-empty": false,
"no-inferrable-types": false,
"no-magic-numbers": false,
"no-non-null-assertion": false,
"no-null-keyword": false,
"no-null-undefined-union": false,
"no-parameter-properties": false,
"no-reference": false,
"no-submodule-imports": false,
"no-unbound-method": false,
"no-unnecessary-callback-wrapper": false,
"no-unsafe-any": false,
"no-unused-variable": false,
"no-use-before-declare": false,
"no-void-expression": false,
"object-literal-key-quotes": [
true,
"as-needed"
],
"object-literal-sort-keys": false,
"only-arrow-functions": [
true,
"allow-declarations",
"allow-named-functions"
],
"ordered-imports": [
true,
{
"import-sources-order": "any",
"named-imports-order": "any",
"grouped-imports": true
}
],
"prefer-function-over-method": false,
"prefer-template": false,
"whitespace": false,
"promise-function-async": false,
"quotemark": [
true,
"single"
],
"restrict-plus-operands": false,
"strict-boolean-expressions": false,
"switch-default": false,
"switch-final-break": false,
"trailing-comma": false,
"typedef": [
true,
"call-signature",
"parameter",
"property-declaration"
],
"variable-name": [
true,
"check-format",
"allow-pascal-case",
"ban-keywords"
],
"no-unnecessary-class": false,
"component-class-suffix": true,
"component-selector": false,
"contextual-decorator": true,
"contextual-life-cycle": true,
"directive-class-suffix": true,
"directive-selector": [
true,
"attribute",
"",
"camelCase"
],
"import-destructuring-spacing": true,
"no-attribute-decorator": true,
"no-conflicting-life-cycle": true,
"no-floating-promises": false,
"no-host-metadata-property": true,
"no-input-rename": true,
"no-inputs-metadata-property": true,
"no-life-cycle-call": true,
"no-output-native": true,
"no-output-on-prefix": true,
"no-output-rename": true,
"no-outputs-metadata-property": true,
"no-queries-metadata-property": true,
"no-unused-css": true,
"prefer-inline-decorator": true,
"prefer-on-push-component-change-detection": false,
"prefer-output-readonly": true,
"relative-url-prefix": true,
"template-banana-in-box": true,
"template-no-call-expression": true,
"template-no-any": true,
"template-no-negated-async": true,
"template-use-track-by-function": true,
"use-component-selector": false,
"use-component-view-encapsulation": true,
"use-life-cycle-interface": true,
"use-pipe-decorator": true,
"use-pipe-transform-interface": true,
"strict-indent-size": false,
"no-implicit-dependencies": false,
"no-import-side-effect": false,
"arrow-parens": false,
"unified-signatures": false,
"ban-types": false,
"linebreak-style": false,
"deprecation": false
}
}