diff options
| author | James Churchill <pelrun@gmail.com> | 2019-01-19 13:06:19 +1000 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-02-17 08:59:19 -0800 |
| commit | ae9439a3f984641b8bc4c1e0d5c5c1818e0b2e32 (patch) | |
| tree | 56eb0228760e9eec37beabd42ac543dc30e3a48f /.clang-format | |
| parent | 4eb7248401bb852cca637a061400cd13ac410bb6 (diff) | |
| download | qmk_firmware-ae9439a3f984641b8bc4c1e0d5c5c1818e0b2e32.tar.gz qmk_firmware-ae9439a3f984641b8bc4c1e0d5c5c1818e0b2e32.zip | |
Add .clang-format file
Diffstat (limited to '.clang-format')
| -rw-r--r-- | .clang-format | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 000000000..bd896176d --- /dev/null +++ b/.clang-format | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | --- | ||
| 2 | BasedOnStyle: Google | ||
| 3 | AlignAfterOpenBracket: Align | ||
| 4 | AlignConsecutiveAssignments: 'true' | ||
| 5 | AlignConsecutiveDeclarations: 'true' | ||
| 6 | AlignOperands: 'true' | ||
| 7 | AllowAllParametersOfDeclarationOnNextLine: 'false' | ||
| 8 | AlwaysBreakAfterDefinitionReturnType: None | ||
| 9 | AlwaysBreakAfterReturnType: None | ||
| 10 | AlwaysBreakBeforeMultilineStrings: 'false' | ||
| 11 | BinPackArguments: 'true' | ||
| 12 | BinPackParameters: 'true' | ||
| 13 | ColumnLimit: '1000' | ||
| 14 | IndentCaseLabels: 'true' | ||
| 15 | IndentPPDirectives: AfterHash | ||
| 16 | IndentWidth: '2' | ||
| 17 | MaxEmptyLinesToKeep: '1' | ||
| 18 | PointerAlignment: Right | ||
| 19 | SortIncludes: 'false' | ||
| 20 | SpaceBeforeAssignmentOperators: 'true' | ||
| 21 | SpaceBeforeParens: ControlStatements | ||
| 22 | SpaceInEmptyParentheses: 'false' | ||
| 23 | TabWidth: '2' | ||
| 24 | UseTab: Never | ||
| 25 | |||
| 26 | ... | ||
