From 2c2d8310f5a914d75ea246f516a7e829ee0f439f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20V=C3=A1zquez=20P=C3=BAa?= Date: Wed, 22 Nov 2017 17:23:09 +0100 Subject: [PATCH] Add related rules link to both forbid-dom-props and forbid-component-props --- docs/rules/forbid-component-props.md | 5 +++++ docs/rules/forbid-dom-props.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/docs/rules/forbid-component-props.md b/docs/rules/forbid-component-props.md index 424d880f0b..eb557df8c2 100644 --- a/docs/rules/forbid-component-props.md +++ b/docs/rules/forbid-component-props.md @@ -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) diff --git a/docs/rules/forbid-dom-props.md b/docs/rules/forbid-dom-props.md index 9453758bc8..8dca2826ae 100644 --- a/docs/rules/forbid-dom-props.md +++ b/docs/rules/forbid-dom-props.md @@ -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)