File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -26,3 +26,20 @@ import { of } from "rxjs";
2626
2727of (42 , 54 ).subscribe ((value ) => console .log (value ));
2828```
29+
30+ ## When Not To Use It
31+
32+ If you don't care about errors or output of some observables in your project, you may not need this rule.
33+ Alternatively, you may require all logic to go in the ` pipe ` section of your observables.
34+ In that case, you should not use this rule and should enable ` no-subscribe-handlers ` instead, which is the opposite of this rule.
35+
36+ Type checked lint rules are more powerful than traditional lint rules, but also require configuring type checked linting.
37+
38+ ## Related To
39+
40+ - [ ` no-subscribe-handlers ` ] ( ./no-subscribe-handlers.md )
41+
42+ ## Resources
43+
44+ - [ Rule source] ( https://github.com/JasonWeinzierl/eslint-plugin-rxjs-x/blob/main/src/rules/no-ignored-subscribe.ts )
45+ - [ Test source] ( https://github.com/JasonWeinzierl/eslint-plugin-rxjs-x/blob/main/tests/rules/no-ignored-subscribe.test.ts )
You can’t perform that action at this time.
0 commit comments