diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000..cc736dc2 --- /dev/null +++ b/.clang-format @@ -0,0 +1,15 @@ +BasedOnStyle: WebKit + +UseTab: ForIndentation +IndentWidth: 4 +TabWidth: 4 +BreakBeforeBraces: Allman + +ColumnLimit: 90 +PenaltyExcessCharacter: 5 + +ReflowComments: true +PenaltyBreakComment: 50 + +AllowShortFunctionsOnASingleLine: None +AllowShortIfStatementsOnASingleLine: false