.clang-format 566 Bytes
Newer Older
1 2 3 4 5 6 7
---
# Global Options Go Here
IndentWidth: 4
ColumnLimit: 80
---
Language: Cpp
BasedOnStyle: Google
8
AccessModifierOffset: -3  # to match cpplint
9 10
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
11
DerivePointerAlignment: false
12 13
ForEachMacros: []
IndentWidth: 4
14
PointerAlignment: Left  # Google style allows both, but clang-format doesn't
15
SpacesBeforeTrailingComments: 2
16
---
17 18
# We should use eslint --fix instead, but we need to find a way to get that to
# operate on diffs like clang-format does.
19
Language: JavaScript
20
DisableFormat: true
21
...