From 227fcf34208ab3e3efa1ca5e61e1a101ec713c0d Mon Sep 17 00:00:00 2001 From: Markus Willems Date: Fri, 12 May 2017 18:01:10 +0200 Subject: [PATCH 1/2] fix for wrong rule syntax. prop-types instead of react/prop-types in docs --- docs/rules/prop-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/prop-types.md b/docs/rules/prop-types.md index f8e0a14e00..6819f8406b 100644 --- a/docs/rules/prop-types.md +++ b/docs/rules/prop-types.md @@ -102,7 +102,7 @@ This rule can take one argument to ignore some specific props during validation. ``` ... -"prop-types": [, { ignore: , customValidators: }] +"react/prop-types": [, { ignore: , customValidators: }] ... ``` From 660790b46b3747fdeac25ec9a06be43ffc8ef68d Mon Sep 17 00:00:00 2001 From: Markus Willems Date: Fri, 12 May 2017 18:43:49 +0200 Subject: [PATCH 2/2] fix for wrong rule syntax. no-unused-prop-types instead of react/no-unused-prop-types in docs --- docs/rules/no-unused-prop-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/no-unused-prop-types.md b/docs/rules/no-unused-prop-types.md index 6ca0c66e33..f4982abdc7 100644 --- a/docs/rules/no-unused-prop-types.md +++ b/docs/rules/no-unused-prop-types.md @@ -47,7 +47,7 @@ This rule can take one argument to ignore some specific props during validation. ``` ... -"no-unused-prop-types": [, { customValidators: , skipShapeProps: }] +"react/no-unused-prop-types": [, { customValidators: , skipShapeProps: }] ... ```