rxjs-tslint-rules icon indicating copy to clipboard operation
rxjs-tslint-rules copied to clipboard

[Request] rxjs-prefer-angular-composition for services.

Open distante opened this issue 4 years ago • 2 comments

Angular services also can use the OnDestroy, if subscriptions are done there for background tasks, we should be able to link them as "use a subscription object and unsubscribe on OnDestroy"

distante avatar Jan 02 '21 10:01 distante

The ESLint version of this rule supports classes other than components. I'm not really interested in adding features/functionality to this package of rules now that TSLint has reached its end of life.

cartant avatar Jan 02 '21 12:01 cartant

Fair enough. I can not change my project to ESLint at the time until all my dependencies support it so I supposse I have to just live with it.

distante avatar Jan 02 '21 12:01 distante