add clang format to CI

This commit is contained in:
Timofey Khoruzhii 2023-05-09 01:18:34 +03:00
parent 474c035b21
commit a675b64b5f
2 changed files with 37 additions and 0 deletions

12
.clang-format Normal file
View file

@ -0,0 +1,12 @@
BasedOnStyle: Google
AccessModifierOffset: -1
DerivePointerAlignment: false
IndentWidth: 2
ColumnLimit: 100
IncludeBlocks: Preserve
SortIncludes: false
AllowShortFunctionsOnASingleLine: Empty