Skip to content

Commit

Permalink
Add .clang-format file
Browse files Browse the repository at this point in the history
This should help keep coding style consistent across the codebase.
  • Loading branch information
lucasdemarchi committed Jan 27, 2017
1 parent 9b57e2d commit c73795f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .clang-format
@@ -0,0 +1,21 @@
---
BasedOnStyle: WebKit

AlignAfterOpenBracket: true
AlignEscapedNewlinesLeft: true
AlignTrailingComments: true
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
ColumnLimit: 100
Cpp11BracedListStyle: true
DerivePointerAlignment: false
IndentCaseLabels: false
Language: Cpp
NamespaceIndentation: None
PointerAlignment: Right
SortIncludes: true
SpaceAfterCStyleCast: false
SpaceInEmptyParentheses: false
Standard: Cpp11
TabWidth: 4
...

0 comments on commit c73795f

Please sign in to comment.