Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rxjs-pipeable-operators-only rule not producing any output #62

Closed
cmckni3 opened this issue Jan 13, 2019 · 0 comments
Closed

rxjs-pipeable-operators-only rule not producing any output #62

cmckni3 opened this issue Jan 13, 2019 · 0 comments

Comments

@cmckni3
Copy link

cmckni3 commented Jan 13, 2019

In particular, trying to enforce using pipeable operators.

Sample code

Sample code in the codebase:

this.accountService.loadAccount().subscribe(account => {
  this.account = account;
});

Expect output

I expect a warning/error about this not using pipeable operators

Actual output

> ng lint
All files pass linting.
✨  Done in 13.05s.

tslint.json

{
  "rulesDirectory": [
    "node_modules/codelyzer",
    "node_modules/rxjs-tslint"
  ],
  "rules": {
    "rxjs-pipeable-operators-only": true
  }
}

Versions

ng: 6.2.8
rxjs: 6.3.3
rxjs-tslint: 0.1.5

@cmckni3 cmckni3 changed the title [Angular 6] rxjs-pipeable-operators-only rule not producing any output rxjs-pipeable-operators-only rule not producing any output May 1, 2020
@cmckni3 cmckni3 closed this as completed Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant