eslint-plugin-rxjs
Version:
ESLint rules for RxJS
28 lines (18 loc) • 536 B
Markdown
is called without handlers.
Examples of **incorrect** code for this rule:
```ts
import { of } from "rxjs";
import { tap } from "rxjs/operators";
of(42, 54).pipe(
tap((value) => console.log(value))
).subscribe();
```
Examples of **correct** code for this rule:
```ts
import { of } from "rxjs";
of(42, 54).subscribe((value) => console.log(value));
```
This rule has no options.
This rule effects failures whenever `subscribe`