rxjs-tslint
rxjs-tslint copied to clipboard
rxjs-pipeable-operators-only rule not producing any output
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