This rule effects failures whenever subscribe
is called with handlers.
Examples of incorrect code for this rule:
import { of } from "rxjs";
import { tap } from "rxjs/operators";
of(42, 54).subscribe((value) => console.log(value));
import { of } from "rxjs";
import { tap } from "rxjs/operators";
of(42, 54).subscribe({
next: (value) => console.log(value),
});
Examples of correct code for this rule:
import { of } from "rxjs";
of(42, 54)
.pipe(tap((value) => console.log(value)))
.subscribe();
This rule has no options.