clang-format: Leave 2 empty lines in Google's JavaScript style.
As per the style guide, two lines are required between top-level
elements.
llvm-svn: 199660
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 79e243b..f715ce2 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -320,6 +320,7 @@
FormatStyle GoogleJSStyle = getGoogleStyle();
GoogleJSStyle.Language = FormatStyle::LK_JavaScript;
GoogleJSStyle.BreakBeforeTernaryOperators = false;
+ GoogleJSStyle.MaxEmptyLinesToKeep = 2;
GoogleJSStyle.SpacesInContainerLiterals = false;
return GoogleJSStyle;
}