Skip to content

Commit

Permalink
[Docs] forbid-prop-types: Add missing quotes to rule options example
Browse files Browse the repository at this point in the history
  • Loading branch information
battaglr authored and ljharb committed May 29, 2019
1 parent 7fd4c4a commit 859def6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/forbid-prop-types.md
Expand Up @@ -44,7 +44,7 @@ class Component extends React.Component {

```js
...
"react/forbid-prop-types": [<enabled>, { "forbid": [<string>], checkContextTypes: <boolean>, checkChildContextTypes: <boolean> }]
"react/forbid-prop-types": [<enabled>, { "forbid": [<string>], "checkContextTypes": <boolean>, "checkChildContextTypes": <boolean> }]
...
```

Expand Down

0 comments on commit 859def6

Please sign in to comment.