File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,14 +46,14 @@ Maximum number of props allowed on a single line. Default to `1`.
46
46
The following patterns are considered warnings:
47
47
48
48
``` jsx
49
- // [1, {maximum: 2}]
49
+ // [1, { " maximum" : 2 }]
50
50
< Hello firstName= " John" lastName= " Smith" tel= {5555555 } / > ;
51
51
```
52
52
53
53
The following patterns are not considered warnings:
54
54
55
55
``` jsx
56
- // [1, {maximum: 2}]
56
+ // [1, { " maximum" : 2 }]
57
57
< Hello
58
58
firstName= " John" lastName= " Smith"
59
59
tel= {5555555 }
@@ -68,13 +68,13 @@ Possible values:
68
68
69
69
The following patterns are considered warnings:
70
70
``` jsx
71
- // [1, {when: always}]
71
+ // [1, { " when": " always" }]
72
72
< Hello firstName= " John" lastName= " Smith" / >
73
73
```
74
74
75
75
The following patterns are not considered warnings:
76
76
``` jsx
77
- // [1, {when: multiline}]
77
+ // [1, { " when": " multiline" }]
78
78
< Hello firstName= " John" lastName= " Smith" / >
79
79
< Hello
80
80
firstName= " John"
You can’t perform that action at this time.
0 commit comments