mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-27 21:08:44 +08:00
initial version of a clang format file that matches quite good with the existing coding style (#436)
Co-authored-by: Daniel B <daniel-brosche@users.noreply.github.com>
This commit is contained in:
parent
a6d8a6d1ef
commit
bb28930eee
25
.clang-format
Normal file
25
.clang-format
Normal file
@ -0,0 +1,25 @@
|
||||
---
|
||||
Language: Cpp
|
||||
|
||||
SortIncludes: false
|
||||
|
||||
BasedOnStyle: Chromium
|
||||
|
||||
BreakBeforeBraces: Stroustrup
|
||||
|
||||
AllowShortBlocksOnASingleLine: true
|
||||
AllowShortCaseLabelsOnASingleLine: true
|
||||
AllowShortFunctionsOnASingleLine: Inline
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
|
||||
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
|
||||
ConstructorInitializerIndentWidth: '2'
|
||||
|
||||
ColumnLimit: '150'
|
||||
ContinuationIndentWidth: '2'
|
||||
TabWidth: '2'
|
||||
IndentWidth: '2'
|
||||
AccessModifierOffset : '-2'
|
||||
IndentCaseLabels: false
|
||||
Cpp11BracedListStyle: 'true'
|
||||
...
|
||||
Loading…
x
Reference in New Issue
Block a user