Skip to content

Commit 859def6

Browse files
Luciano Battaglieroljharb
Luciano Battagliero
authored andcommitted
[Docs] forbid-prop-types: Add missing quotes to rule options example
1 parent 7fd4c4a commit 859def6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/forbid-prop-types.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Component extends React.Component {
4444

4545
```js
4646
...
47-
"react/forbid-prop-types": [<enabled>, { "forbid": [<string>], checkContextTypes: <boolean>, checkChildContextTypes: <boolean> }]
47+
"react/forbid-prop-types": [<enabled>, { "forbid": [<string>], "checkContextTypes": <boolean>, "checkChildContextTypes": <boolean> }]
4848
...
4949
```
5050

0 commit comments

Comments
 (0)