mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:28:02 +00:00
17 lines
550 B
Text
17 lines
550 B
Text
|
# Defines the Chromium style for automatic reformatting.
|
||
|
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
||
|
BasedOnStyle: Chromium
|
||
|
|
||
|
# Keep up to 2 blank lines. More blank lines are removed.
|
||
|
MaxEmptyLinesToKeep: 2
|
||
|
|
||
|
# clang-format doesn't seem to do a good job of this for longer comments.
|
||
|
ReflowComments: 'false'
|
||
|
|
||
|
# We have lots of these. Though we need to put them all in curly braces,
|
||
|
# clang-format can't do that.
|
||
|
AllowShortIfStatementsOnASingleLine: 'true'
|
||
|
|
||
|
# Put escaped newlines into the rightmost column.
|
||
|
AlignEscapedNewlinesLeft: false
|