This helps with formatting sources to be closer to the coding style explained in CONTRIBUTING.md. It's not perfect, but provides a reasonable base. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
26 lines
585 B
YAML
26 lines
585 B
YAML
---
|
|
Language: Cpp
|
|
BasedOnStyle: WebKit
|
|
AllowShortFunctionsOnASingleLine: false
|
|
BinPackArguments: false
|
|
BinPackParameters: false
|
|
BraceWrapping:
|
|
AfterClass: false
|
|
AfterControlStatement: false
|
|
AfterEnum: false
|
|
AfterFunction: true
|
|
AfterNamespace: false
|
|
AfterObjCDeclaration: false
|
|
AfterStruct: false
|
|
AfterUnion: false
|
|
BeforeCatch: false
|
|
BeforeElse: false
|
|
IndentBraces: false
|
|
BreakBeforeBraces: Custom
|
|
Cpp11BracedListStyle: true
|
|
PointerAlignment: Right
|
|
ReflowComments: false
|
|
SortIncludes: false
|
|
TabWidth: 4
|
|
...
|