clang-format: [JS] Allow up to 3 empty lines in Google's JS style.

llvm-svn: 208404
This commit is contained in:
Daniel Jasper 2014-05-09 10:28:58 +00:00
parent 8951908218
commit 8f83a9072d
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) {
if (Language == FormatStyle::LK_JavaScript) {
GoogleStyle.BreakBeforeTernaryOperators = false;
GoogleStyle.MaxEmptyLinesToKeep = 2;
GoogleStyle.MaxEmptyLinesToKeep = 3;
GoogleStyle.SpacesInContainerLiterals = false;
} else if (Language == FormatStyle::LK_Proto) {
GoogleStyle.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_None;