mirror of
https://github.com/depp/syncfiles.git
synced 2024-12-28 12:29:56 +00:00
dd96385d7c
The trailing comma is supported in MPW and GCC. It fixes the formatting issue with clang-format and makes cleaner diffs, so trailing commas have been added to enums and clang-format has been run over the sources.
24 lines
530 B
YAML
24 lines
530 B
YAML
---
|
|
BasedOnStyle: Google
|
|
AccessModifierOffset: -4
|
|
AllowShortFunctionsOnASingleLine: Inline
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
AllowShortLoopsOnASingleLine: false
|
|
DerivePointerAlignment: false
|
|
IncludeBlocks: Preserve
|
|
IncludeCategories:
|
|
- Regex: '^".*'
|
|
Priority: 1
|
|
- Regex: '^<.*\.h>'
|
|
Priority: 3
|
|
- Regex: '^<.*'
|
|
Priority: 2
|
|
IndentCaseLabels: false
|
|
IndentWidth: 4
|
|
PointerAlignment: Right
|
|
SpacesBeforeTrailingComments: 1
|
|
Standard: Cpp11
|
|
TabWidth: 4
|
|
UseTab: AlignWithSpaces
|
|
BreakBeforeBraces: Linux
|