Skip to content

Commit 227fcf3

Browse files
fix for wrong rule syntax. prop-types instead of react/prop-types in docs
1 parent af68f88 commit 227fcf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/prop-types.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ This rule can take one argument to ignore some specific props during validation.
102102

103103
```
104104
...
105-
"prop-types": [<enabled>, { ignore: <ignore>, customValidators: <customValidator> }]
105+
"react/prop-types": [<enabled>, { ignore: <ignore>, customValidators: <customValidator> }]
106106
...
107107
```
108108

0 commit comments

Comments
 (0)