Skip to content

Commit 7ff1189

Browse files
docs(no-unsafe-takeuntil): when not to use it
1 parent 3917fa5 commit 7ff1189

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/rules/no-unsafe-takeuntil.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,17 @@ By default, the `allow` property contains all of the built-in operators that are
5656

5757
The properties in the options object are themselves optional; they do not all have to be specified.
5858

59+
## When Not To Use It
60+
61+
If you are confident your project uses `takeUntil` correctly, then you may not need this rule.
62+
63+
Type checked lint rules are more powerful than traditional lint rules, but also require configuring type checked linting.
64+
5965
## Further reading
6066

6167
- [Avoiding takeUntil leaks](https://ncjamieson.com/avoiding-takeuntil-leaks/)
68+
69+
## Resources
70+
71+
- [Rule source](https://github.com/JasonWeinzierl/eslint-plugin-rxjs-x/blob/main/src/rules/no-unsafe-takeuntil.ts)
72+
- [Test source](https://github.com/JasonWeinzierl/eslint-plugin-rxjs-x/blob/main/tests/rules/no-unsafe-takeuntil.test.ts)

0 commit comments

Comments
 (0)