Skip to content

Commit afd8ecf

Browse files
chore(no-index): when not to use it
1 parent 6811ef0 commit afd8ecf

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/rules/no-index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,16 @@ Examples of **correct** code for this rule:
1919
```ts
2020
import { of } from "rxjs";
2121
```
22+
23+
## When Not To Use It
24+
25+
If you don't care about unnecessary import path segments, then you don't need this rule.
26+
27+
## Further reading
28+
29+
- [Importing instructions](https://rxjs.dev/guide/importing)
30+
31+
## Resources
32+
33+
- [Rule source](https://github.com/JasonWeinzierl/eslint-plugin-rxjs-x/blob/main/src/rules/no-index.ts)
34+
- [Test source](https://github.com/JasonWeinzierl/eslint-plugin-rxjs-x/blob/main/tests/rules/no-index.test.ts)

0 commit comments

Comments
 (0)