You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`arguments`| Disallow passing an Observable-returning function as an argument where the parameter type expects a function that returns `void`. | Boolean |`true`|
23
+
|`attributes`| Disallow passing an Observable-returning function as a JSX attribute expected to be a function that returns `void`. | Boolean |`true`|
24
+
|`inheritedMethods`| Disallow providing an Observable-returning function where a function that returns `void` is expected by an extended or implemented type. | Boolean |`true`|
25
+
|`properties`| Disallow providing an Observable-returning function where a function that returns `void` is expected by a property. | Boolean |`true`|
26
+
|`returns`| Disallow returning an Observable-returning function where a function that returns `void` is expected. | Boolean |`true`|
27
+
|`variables`| Disallow assigning or declaring an Observable-returning function where a function that returns `void` is expected. | Boolean |`true`|
checksVoidReturn: {type: 'boolean',default: true,description: 'Disallow returning an Observable from a function typed as returning `void`.'},
82
+
checksVoidReturn: {
83
+
default: true,
84
+
description: 'Disallow returning an Observable from a function typed as returning `void`.',
85
+
oneOf: [
86
+
{
87
+
default: true,
88
+
type: 'boolean',
89
+
description: 'Disallow returning an Observable from all types of functions typed as returning `void`.',
90
+
},
91
+
{
92
+
type: 'object',
93
+
additionalProperties: false,
94
+
description: 'Which forms of functions may have checking disabled.',
95
+
properties: {
96
+
arguments: {type: 'boolean',description: 'Disallow passing an Observable-returning function as an argument where the parameter type expects a function that returns `void`.'},
97
+
attributes: {type: 'boolean',description: 'Disallow passing an Observable-returning function as a JSX attribute expected to be a function that returns `void`.'},
98
+
inheritedMethods: {type: 'boolean',description: 'Disallow providing an Observable-returning function where a function that returns `void` is expected by an extended or implemented type.'},
99
+
properties: {type: 'boolean',description: 'Disallow providing an Observable-returning function where a function that returns `void` is expected by a property.'},
100
+
returns: {type: 'boolean',description: 'Disallow returning an Observable-returning function where a function that returns `void` is expected.'},
101
+
variables: {type: 'boolean',description: 'Disallow assigning or declaring an Observable-returning function where a function that returns `void` is expected.'},
102
+
},
103
+
},
104
+
],
105
+
},
43
106
checksSpreads: {type: 'boolean',default: true,description: 'Disallow `...` spreading an Observable.'},
0 commit comments