forked from OSchip/llvm-project
clang-format: [JS] Allow up to 3 empty lines in Google's JS style.
llvm-svn: 208404
This commit is contained in:
parent
8951908218
commit
8f83a9072d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue