clang-format: add style for formatting javascript source
This commit is contained in:
parent
9bfda64ef3
commit
8ae1c70dc7
@ -20,3 +20,18 @@ SpacesInContainerLiterals: false
|
||||
|
||||
# Alas, not supported:
|
||||
# ForceEmptyLineAtEOF: true
|
||||
|
||||
---
|
||||
Language: JavaScript
|
||||
BasedOnStyle: Google
|
||||
|
||||
AllowShortFunctionsOnASingleLine: Empty
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
BinPackArguments: false
|
||||
BinPackParameters: false
|
||||
BreakBeforeBraces: Attach
|
||||
ColumnLimit: 79
|
||||
IndentWrappedFunctionNames: true
|
||||
MaxEmptyLinesToKeep: 1
|
||||
SpacesInContainerLiterals: false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user