Skip to content

Commit e6d489b

Browse files
docs(prefer-observer): when not to use it
1 parent 579c01b commit e6d489b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/rules/prefer-observer.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,18 @@ This rule accepts a single option which is an object with an `allowNext` propert
4949
}
5050
```
5151

52+
## When Not To Use It
53+
54+
If you rely on RxJS's deprecation of separate handlers and don't need to double-flag usage,
55+
then you don't need this rule.
56+
57+
Type checked lint rules are more powerful than traditional lint rules, but also require configuring type checked linting.
58+
5259
## Further reading
5360

5461
- [Subscribe Arguments](https://rxjs.dev/deprecations/subscribe-arguments)
62+
63+
## Resources
64+
65+
- [Rule source](https://github.com/JasonWeinzierl/eslint-plugin-rxjs-x/blob/main/src/rules/prefer-observer.ts)
66+
- [Test source](https://github.com/JasonWeinzierl/eslint-plugin-rxjs-x/blob/main/tests/rules/prefer-observer.test.ts)

0 commit comments

Comments
 (0)