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

[enhancement] ban-operators report the use instead of the import #96

Open
spali opened this issue Mar 17, 2022 · 0 comments
Open

[enhancement] ban-operators report the use instead of the import #96

spali opened this issue Mar 17, 2022 · 0 comments

Comments

@spali
Copy link

spali commented Mar 17, 2022

I like to ban some operators to rethink the use of it like switchMap and withLatestFrom usually use concatMap and a concatLatestFrom (from ngrx) instead.
For switchMap there exist a specific rule, but not for others.
The problem I have, if I use ban-operators for these, I can not make exceptions by ignoring them on the line they are used, but have to ignore the rule on the import.
It would help if ban-operators would report the use of the operator's instead of the import.

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