File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ Language : Cpp
3
+ BasedOnStyle : LLVM
4
+ IndentWidth : 4
5
+ AlignAfterOpenBracket : Align
6
+ AllowShortBlocksOnASingleLine : false
7
+ AllowShortCaseLabelsOnASingleLine : false
8
+ AllowShortFunctionsOnASingleLine : false
9
+ IndentCaseLabels : true
10
+ SpacesBeforeTrailingComments : 2
11
+ PointerAlignment : Left
12
+ AlignEscapedNewlines : Left
13
+ ForEachMacros : ['TEST_GROUP', 'TEST']
14
+ ...
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ syntax_check:
19
19
# For performance and stability reasons, use offline installation.
20
20
- pip install --no-index --find-links=/pip editorconfig-checker
21
21
- pip install flake8
22
+ - apt-get update && apt-get install -yq clang-format-6.0
22
23
script :
23
24
- editorconfig-checker
24
25
- flake8
26
+ - find . -type f -iregex ".*\.\(c\|h\|cpp\|ino\)" -exec clang-format-6.0 -i -style=file {} \;
You can’t perform that action at this time.
0 commit comments