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
This commit is contained in:
Daniel Jasper 2014-01-20 14:10:30 +00:00
parent a6bcadeb4a
commit a55544a658
1 changed files with 1 additions and 0 deletions

View File

@ -320,6 +320,7 @@ FormatStyle getGoogleJSStyle() {
FormatStyle GoogleJSStyle = getGoogleStyle();
GoogleJSStyle.Language = FormatStyle::LK_JavaScript;
GoogleJSStyle.BreakBeforeTernaryOperators = false;
GoogleJSStyle.MaxEmptyLinesToKeep = 2;
GoogleJSStyle.SpacesInContainerLiterals = false;
return GoogleJSStyle;
}