Skip to content

Commit

Permalink
Add related rules link to both forbid-dom-props and forbid-component-…
Browse files Browse the repository at this point in the history
…props
  • Loading branch information
davazp committed Nov 22, 2017
1 parent 1ae0a99 commit 2c2d831
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/rules/forbid-component-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@ The following patterns are **not** considered warnings:
### `forbid`

An array of strings, with the names of props that are forbidden. The default value of this option is `['className', 'style']`.


### Related rules

- [forbid-dom-props](./forbid-dom-props.md)
5 changes: 5 additions & 0 deletions docs/rules/forbid-dom-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,8 @@ The following patterns are **not** considered warnings:
### `forbid`

An array of strings, with the names of props that are forbidden. The default value of this option `[]`.


### Related rules

- [forbid-component-props](./forbid-component-props.md)

0 comments on commit 2c2d831

Please sign in to comment.