ESLint plugin providing a comprehensive set of rules for RxJS (v5, 2024). It reimplements the rules from rxjs-tslint-rules for ESLint, covering common mistakes like async subscribe, ignored observables, nested subscribes, and more. Almost all rules require @typescript-eslint/parser and a TypeScript project. The package includes a recommended configuration with opinionated rules separate. Release cadence is stable with frequent updates. Compared to alternatives like eslint-plugin-rxjs-angular (Angular-specific), this plugin covers generic RxJS patterns across frameworks.
npm install eslint-plugin-rxjsVerified import paths — ran on the pinned version, not inferred.
Setup ESLint with rxjs plugin, using @typescript-eslint/parser and recommended config.
Upgrade eslint to ^8.0.0 and check rule names; see migration guide.
Ensure @typescript-eslint/parser is installed and parserOptions.project points to tsconfig.json.
Replace with equivalent rules or disable.
Run 'npm install eslint-plugin-rxjs --save-dev'
Set parser: '@typescript-eslint/parser' in ESLint config and install the package.
Add parserOptions.project pointing to your tsconfig.json