fix: format all languages using clang-format

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-07-29 11:30:33 +02:00
parent 9f66f6495a
commit 076c189948
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951
2 changed files with 6 additions and 5 deletions

View File

@ -1,16 +1,17 @@
--- ---
Language: Cpp BasedOnStyle: Chromium
BasedOnStyle: Chromium
IndentWidth: 4 IndentWidth: 4
---
Language: Cpp
AlignConsecutiveMacros: false AlignConsecutiveMacros: false
AlignConsecutiveAssignments: false AlignConsecutiveAssignments: false
AllowShortIfStatementsOnASingleLine: false AllowShortIfStatementsOnASingleLine: false
BraceWrapping: BraceWrapping:
AfterFunction: true AfterFunction: true
SplitEmptyFunction: false SplitEmptyFunction: false
SplitEmptyRecord: false SplitEmptyRecord: false
SplitEmptyNamespace: false SplitEmptyNamespace: false
BreakBeforeBraces: Custom BreakBeforeBraces: Custom
BreakConstructorInitializers: BeforeComma BreakConstructorInitializers: BeforeComma
ColumnLimit: 140 ColumnLimit: 140
Cpp11BracedListStyle: false Cpp11BracedListStyle: false

View File

@ -20,7 +20,7 @@
clang-format = { clang-format = {
enable = true; enable = true;
types_or = ["c" "c++"]; types_or = ["c" "c++" "java" "json" "objective-c"];
}; };
}; };
}; };