Skip to content

Commit 2c2d831

Browse files
committed
Add related rules link to both forbid-dom-props and forbid-component-props
1 parent 1ae0a99 commit 2c2d831

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/rules/forbid-component-props.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,8 @@ The following patterns are **not** considered warnings:
4242
### `forbid`
4343

4444
An array of strings, with the names of props that are forbidden. The default value of this option is `['className', 'style']`.
45+
46+
47+
### Related rules
48+
49+
- [forbid-dom-props](./forbid-dom-props.md)

docs/rules/forbid-dom-props.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,8 @@ The following patterns are **not** considered warnings:
4343
### `forbid`
4444

4545
An array of strings, with the names of props that are forbidden. The default value of this option `[]`.
46+
47+
48+
### Related rules
49+
50+
- [forbid-component-props](./forbid-component-props.md)

0 commit comments

Comments
 (0)