summaryrefslogtreecommitdiffstats
path: root/.clang-format
blob: a055030a64875c9ae05c6697cca1c92eae6e1c7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
BasedOnStyle: Google
IndentWidth:  4
TabWidth:     8
UseTab:       Never
# NOTE(2019-02-23, uklotzde) The column limit has been set to 0
# to avoid eagerly reformatting of the existing code base. This
# may later be changed to 80-100 characters per line if desired.
ColumnLimit:  0
---
# Customize only those options that differ from the base style!
# Dumping the options of the base style for comparison:
# clang-format -style=google -dump-config > .clang-format_google
Language:     Cpp
AccessModifierOffset: -2
AlignAfterOpenBracket: DontAlign
AlignOperands: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BinPackArguments: false
BinPackParameters: false
ConstructorInitializerIndentWidth: 8
ContinuationIndentWidth: 8
IndentCaseLabels: false
DerivePointerAlignment: false
ReflowComments: false
SpaceAfterTemplateKeyword: false
SpacesBeforeTrailingComments: 1
---
Language: JavaScript
# Don't format .js files yet
DisableFormat: true
---
Language: Proto
# Don't format .proto files yet
DisableFormat: true
...