This rule enforces the passing of an error handler to subscribe
calls.
Examples of incorrect code for this rule:
source.subscribe((value) => console.log(value));
source.subscribe({
next: (value) => console.log(value)
});
Examples of correct code for this rule:
source.subscribe(
(value) => console.log(value),
(error) => console.error(error)
);
source.subscribe({
next: (value) => console.log(value),
error: (error) => console.error(error)
});
This rule has no options.