Skip to content

Commit 6f5eacc

Browse files
justmejulianljharb
andauthored
fixed styling
Co-authored-by: Jordan Harband <[email protected]>
1 parent 1206a9b commit 6f5eacc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/rules/jsx-newline.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,11 @@ module.exports = {
113113

114114
if (
115115
allowMultilines
116-
&& (isMultilined(element)
117-
|| isMultilined(findFirstNonBlockComment(index + 2, elements)))
116+
&& (
117+
isMultilined(element)
118+
|| isMultilined(findFirstNonBlockComment(index + 2, elements)
119+
)
120+
)
118121
) {
119122
if (!isWithoutNewLine) return;
120123

0 commit comments

Comments
 (0)