Skip to content

Commit b29a9d6

Browse files
docs(prefer-root-operators): when not to use it
1 parent e6d489b commit b29a9d6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/rules/prefer-root-operators.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,17 @@ Examples of **correct** code for this rule:
2929
import { map } from 'rxjs';
3030
```
3131

32+
## When Not To Use It
33+
34+
If you don't care about importing from the deprecated site, then you don't need this rule.
35+
36+
Type checked lint rules are more powerful than traditional lint rules, but also require configuring type checked linting.
37+
3238
## Further reading
3339

3440
- [Importing instructions](https://rxjs.dev/guide/importing)
41+
42+
## Resources
43+
44+
- [Rule source](https://github.com/JasonWeinzierl/eslint-plugin-rxjs-x/blob/main/src/rules/prefer-root-operators.ts)
45+
- [Test source](https://github.com/JasonWeinzierl/eslint-plugin-rxjs-x/blob/main/tests/rules/prefer-root-operators.test.ts)

0 commit comments

Comments
 (0)