Skip to content

Commit 55069c8

Browse files
Andreagit97poiana
authored andcommitted
chore: scaffolding for enabling code formatting
Signed-off-by: Andrea Terzolo <[email protected]>
1 parent bc7394b commit 55069c8

10 files changed

+650
-128
lines changed

.clang-format

+29-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,36 @@
1-
---
21
Language: Cpp
3-
BasedOnStyle: LLVM
4-
AccessModifierOffset: -8
5-
BreakBeforeBraces: Allman
2+
BasedOnStyle: Google
3+
AccessModifierOffset: -4
4+
BreakBeforeBraces: Attach
5+
AllowAllArgumentsOnNextLine: false
6+
AllowAllConstructorInitializersOnNextLine: false
7+
AllowAllParametersOfDeclarationOnNextLine: false
8+
AllowShortFunctionsOnASingleLine: Inline
9+
AllowShortIfStatementsOnASingleLine: Never
10+
AllowShortLoopsOnASingleLine: false
11+
BinPackArguments: false
12+
BinPackParameters: false
13+
ColumnLimit: 100
14+
DerivePointerBinding: false
15+
IndentCaseLabels: false
16+
IndentWidth: 4
17+
SpaceAfterTemplateKeyword: false
18+
TabWidth: 4
19+
UseTab: ForIndentation
620
BreakConstructorInitializers: AfterColon
7-
ColumnLimit: 0
821
ConstructorInitializerIndentWidth: 8
922
ContinuationIndentWidth: 8
1023
DerivePointerAlignment: true
11-
IndentWidth: 8
12-
SortIncludes: false
13-
SpaceAfterTemplateKeyword: false
24+
SortIncludes: Never
1425
SpaceBeforeCtorInitializerColon: false
1526
SpaceBeforeParens: Never
16-
UseTab: Always
27+
InsertNewlineAtEOF: true
28+
---
29+
Language: Proto
30+
DisableFormat: true
31+
---
32+
Language: JavaScript
33+
DisableFormat: true
34+
---
35+
Language: Java
36+
DisableFormat: true

.clang-format-ignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Add here new files to ignore

.cmake-format

-119
This file was deleted.

0 commit comments

Comments
 (0)