Skip to content

Commit

Permalink
Added .clang-format common code formatting style proposal
Browse files Browse the repository at this point in the history
Using this format to format all local source would make merging changes a bit easier
and also the code reading should be easier as there would be only one
consistent style.
  • Loading branch information
hogthrob committed Jan 4, 2022
1 parent b406bcc commit 4ea9b02
Show file tree
Hide file tree
Showing 4 changed files with 488 additions and 516 deletions.
10 changes: 10 additions & 0 deletions PlatformIO/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
BasedOnStyle: Microsoft
UseTab: Never
IndentWidth: 2

# looks nice, but may cause significant changes when an additional statement is addded
## AlignConsecutiveAssignments: AcrossEmptyLinesAndComments

BreakBeforeBraces: Mozilla

SortIncludes: Never
Loading

0 comments on commit 4ea9b02

Please sign in to comment.