Skip to content

Commit 589113f

Browse files
authored
Merge pull request #1005 from yooungt13/patch-1
Update jsx-closing-bracket-location.md
2 parents fd2fba1 + 3820096 commit 589113f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/rules/jsx-closing-bracket-location.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -116,24 +116,24 @@ var x = function() {
116116
// 'jsx-closing-bracket-location': [1, 'after-props']
117117
<Hello
118118
firstName="John"
119-
lastName="Smith"
120-
/>;
119+
lastName="Smith" />;
121120

122121
<Say
123122
firstName="John"
124-
lastName="Smith"
125-
>
123+
lastName="Smith">
126124
Hello
127125
</Say>;
128126

129127
// 'jsx-closing-bracket-location': [1, 'props-aligned']
130128
<Hello
131129
firstName="John"
132-
lastName="Smith" />;
130+
lastName="Smith"
131+
/>;
133132

134133
<Say
135134
firstName="John"
136-
lastName="Smith">
135+
lastName="Smith"
136+
>
137137
Hello
138138
</Say>;
139139
```

0 commit comments

Comments
 (0)