forked from OSchip/llvm-project
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:
parent
a6bcadeb4a
commit
a55544a658
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue