Skip to content

Commit 9ce4d85

Browse files
authored
Merge pull request #1192 from markus-willems/pr/prop-types-docs
Docs: fix wrong syntax in docs for prop-types rule
2 parents af68f88 + 660790b commit 9ce4d85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/rules/no-unused-prop-types.md

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

4848
```
4949
...
50-
"no-unused-prop-types": [<enabled>, { customValidators: <customValidator>, skipShapeProps: <skipShapeProps> }]
50+
"react/no-unused-prop-types": [<enabled>, { customValidators: <customValidator>, skipShapeProps: <skipShapeProps> }]
5151
...
5252
```
5353

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)