Fork of cartant's eslint-plugin-rxjs-angular updated for ESLint v9 compatibility. Current version 1.0.50. Provides three opinionated ESLint rules for enforcing RxJS best practices in Angular components: prefer-async-pipe (forbids calling subscribe in components), prefer-composition (forbids non-composed subscribe calls), and prefer-takeuntil (forbids subscribe without takeUntil). Requires @typescript-eslint/parser and TypeScript project configuration. Not recommended for new projects; prefer the original package if ESLint v8 is acceptable.
npm install eslint-plugin-rxjs-angular-updatedVerified import paths — ran on the pinned version, not inferred.
Minimal ESLint flat config (v9) setup using the updated plugin with two rules enabled.
Update ESLint config: replace 'rxjs-angular/' with 'rxjs-angular-updated/' in plugin and rule references.
Migrate to flat config (eslint.config.js) as shown in Quickstart.
Consider using the original eslint-plugin-rxjs-angular if ESLint v8 is acceptable, or migrate to a maintained alternative.
Use 'rxjs-angular-updated/prefer-takeuntil' instead of 'rxjs-angular/prefer-takeuntil'.
Ensure '@typescript-eslint/parser' and parserOptions.project point to valid tsconfig.json.
Run: npm install eslint-plugin-rxjs-angular-updated --save-dev
Run: npm install @typescript-eslint/parser --save-dev
Ensure plugin is imported and added to 'plugins' object with key 'rxjs-angular-updated'.