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

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

Open cmckni3 opened this issue 5 years ago • 0 comments

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 avatar Jan 13 '19 22:01 cmckni3