Skip to content

Commit

Permalink
Add standard Polymer clang-format config
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Joel committed Oct 19, 2018
1 parent 1542472 commit 868d0ad
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
BasedOnStyle: Google
AlignAfterOpenBracket: AlwaysBreak
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BinPackArguments: false
# This breaks async functions sometimes, see
# https://github.com/Polymer/polymer-analyzer/pull/393
# BinPackParameters: false

0 comments on commit 868d0ad

Please sign in to comment.