diff --git a/.clang-format b/.clang-format index 21fe245..c83cd2b 100644 --- a/.clang-format +++ b/.clang-format @@ -20,3 +20,18 @@ SpacesInContainerLiterals: false # Alas, not supported: # ForceEmptyLineAtEOF: true + +--- +Language: JavaScript +BasedOnStyle: Google + +AllowShortFunctionsOnASingleLine: Empty +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +BinPackArguments: false +BinPackParameters: false +BreakBeforeBraces: Attach +ColumnLimit: 79 +IndentWrappedFunctionNames: true +MaxEmptyLinesToKeep: 1 +SpacesInContainerLiterals: false