Skip to content

Commit 46a5709

Browse files
docs: link no-duplicate-type-constituents and no-redundant-type-constituents to each other (#9612)
1 parent 365918e commit 46a5709

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

packages/eslint-plugin/docs/rules/no-duplicate-type-constituents.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,7 @@ It can sometimes be useful for the sake of documentation to include aliases for
7070
You might consider using [ESLint disable comments](https://eslint.org/docs/latest/use/configure/rules#using-configuration-comments-1) for those specific situations instead of completely disabling this rule.
7171

7272
> In some of those cases, [branded types](https://basarat.gitbook.io/typescript/main-1/nominaltyping#using-interfaces) might be a type-safe way to represent the underlying data types.
73+
74+
## Related To
75+
76+
- [no-redundant-type-constituents](./no-redundant-type-constituents.mdx)

packages/eslint-plugin/docs/rules/no-redundant-type-constituents.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,7 @@ If you strongly feel a preference for these unnecessary type constituents, this
9696
- [Intersection Types](https://www.typescriptlang.org/docs/handbook/2/objects.html#intersection-types)
9797
- [Bottom Types](https://en.wikipedia.org/wiki/Bottom_type)
9898
- [Top Types](https://en.wikipedia.org/wiki/Top_type)
99+
100+
## Related To
101+
102+
- [no-duplicate-type-constituents](./no-duplicate-type-constituents.mdx)

0 commit comments

Comments
 (0)