But bufferSize here is missing. And it looks like here should be error from rxjs/no-ignored-replay-buffer rule. I've checked sources and it looks like the rule check only arguments length but doesn't check the arguments content.
Also, I can help with pull request, if you don't mind.
In my project I'm using
plugin:rxjs/recommended
which comes with two rules:rxjs/no-sharereplay
andrxjs/no-ignored-replay-buffer
.The following code is good with
rxjs/no-ignored-replay-buffer
rule and throws error withrxjs/no-sharereplay
rule:And this won't throw any linter error:
But
bufferSize
here is missing. And it looks like here should be error fromrxjs/no-ignored-replay-buffer
rule. I've checked sources and it looks like the rule check only arguments length but doesn't check the arguments content.Also, I can help with pull request, if you don't mind.