Use returned observables (no-ignored-observable)

October 22, 2020 ยท View on GitHub

The effects failures if an observable returned by a function is neither assigned to a variable or property or passed to a function.

Rule details

Examples of incorrect code for this rule:

import { of } from "rxjs";
of(42, 54);

Examples of correct code for this rule:

import { of } from "rxjs";
const answers = of(42, 54);

Options

This rule has no options.