diff options
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/lib/Format/Format.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index 79e243b9074..f715ce2810c 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -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; } |

