Skip to content

Commit c3e57c7

Browse files
authored
Merge pull request #1867 from peter-mouland/patch-4
Fix JSX Syntax
2 parents f27285f + 1615ae8 commit c3e57c7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/rules/jsx-one-expression-per-line.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ The following patterns are considered warnings:
2020
</Hello></App>
2121

2222
<App>
23-
</Hello> World
23+
<Hello /> World
2424
</App>
2525

2626
<App>
27-
</Hello> { 'World' }
27+
<Hello /> { 'World' }
2828
</App>
2929

3030
<App>
31-
</Hello> { this.world() }
31+
<Hello /> { this.world() }
3232
</App>
3333

3434
<App>
@@ -64,17 +64,17 @@ The following patterns are **not** warnings:
6464
</App>
6565

6666
<App>
67-
</Hello>
67+
<Hello />
6868
World
6969
</App>
7070

7171
<App>
72-
</Hello>
72+
<Hello />
7373
{ 'World' }
7474
</App>
7575

7676
<App>
77-
</Hello>
77+
<Hello />
7878
{ this.world() }
7979
</App>
8080

0 commit comments

Comments
 (0)