LibreWeb-Browser/.clang-format

22 lines
640 B
YAML

{
BasedOnStyle: LLVM,
UseTab: Never,
IndentWidth: 2,
TabWidth: 2,
AccessModifierOffset: -2,
DerivePointerAlignment: false,
PointerAlignment: Left,
Cpp11BracedListStyle: true,
ConstructorInitializerAllOnOneLineOrOnePerLine: true,
AllowAllConstructorInitializersOnNextLine: false,
# In the future use: PackConstructorInitializers: Never, (iso the two options above)
ColumnLimit: 150,
BreakBeforeBraces: Allman,
FixNamespaceComments: false,
AllowShortIfStatementsOnASingleLine: Never,
IndentCaseLabels: false,
NamespaceIndentation: All,
BinPackParameters: false,
AllowShortFunctionsOnASingleLine: None,
}