Skip to content

Commit 1fa65bd

Browse files
docs(no-redundant-notify): when not to use it
1 parent 135339c commit 1fa65bd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/rules/no-redundant-notify.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,15 @@ const subject = new Subject<number>();
3232
subject.next(42);
3333
subject.error(new Error("Kaboom!"));
3434
```
35+
36+
## When Not To Use It
37+
38+
If you don't use a library with effects and epics (e.g. NgRx or redux-observable),
39+
then you don't need this rule.
40+
41+
Type checked lint rules are more powerful than traditional lint rules, but also require configuring type checked linting.
42+
43+
## Resources
44+
45+
- [Rule source](https://github.com/JasonWeinzierl/eslint-plugin-rxjs-x/blob/main/src/rules/no-redundant-notify.ts)
46+
- [Test source](https://github.com/JasonWeinzierl/eslint-plugin-rxjs-x/blob/main/tests/rules/no-redundant-notify.test.ts)

0 commit comments

Comments
 (0)