diff --git a/docs/rules/jsx-max-props-per-line.md b/docs/rules/jsx-max-props-per-line.md
index 06152d073a..490b50e0f1 100644
--- a/docs/rules/jsx-max-props-per-line.md
+++ b/docs/rules/jsx-max-props-per-line.md
@@ -46,14 +46,14 @@ Maximum number of props allowed on a single line. Default to `1`.
The following patterns are considered warnings:
```jsx
-// [1, {maximum: 2}]
+// [1, { "maximum": 2 }]
;
```
The following patterns are not considered warnings:
```jsx
-// [1, {maximum: 2}]
+// [1, { "maximum": 2 }]
```
The following patterns are not considered warnings:
```jsx
-// [1, {when: multiline}]
+// [1, { "when": "multiline" }]