Skip to content

Commit

Permalink
Merge pull request #1192 from markus-willems/pr/prop-types-docs
Browse files Browse the repository at this point in the history
Docs: fix wrong syntax in docs for prop-types rule
  • Loading branch information
ljharb committed May 12, 2017
2 parents af68f88 + 660790b commit 9ce4d85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/rules/no-unused-prop-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ This rule can take one argument to ignore some specific props during validation.

```
...
"no-unused-prop-types": [<enabled>, { customValidators: <customValidator>, skipShapeProps: <skipShapeProps> }]
"react/no-unused-prop-types": [<enabled>, { customValidators: <customValidator>, skipShapeProps: <skipShapeProps> }]
...
```

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/prop-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ This rule can take one argument to ignore some specific props during validation.

```
...
"prop-types": [<enabled>, { ignore: <ignore>, customValidators: <customValidator> }]
"react/prop-types": [<enabled>, { ignore: <ignore>, customValidators: <customValidator> }]
...
```

Expand Down

0 comments on commit 9ce4d85

Please sign in to comment.