diff options
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/.clang-format b/.clang-format index 50769463..e1b30577 100644 --- a/.clang-format +++ b/.clang-format @@ -14,16 +14,8 @@ IndentWidth: 4 PointerAlignment: Left # Google style allows both, but clang-format doesn't SpacesBeforeTrailingComments: 2 --- -# We rely mostly on eslint for JavaScript linting, but this is a lax collection -# of rules that will auto-fix some JS things. We really should use eslint --fix -# instead, but we need to find a way to get that to operate on diffs like -# clang-format does. +# We should use eslint --fix instead, but we need to find a way to get that to +# operate on diffs like clang-format does. Language: JavaScript -AlignAfterOpenBracket: DontAlign -AllowShortFunctionsOnASingleLine: false -JavaScriptQuotes: Leave # It's not smart enough to allow " to minimize escapes -PenaltyBreakBeforeFirstCallParameter: 1000000 -PenaltyExcessCharacter: 1 -SpacesBeforeTrailingComments: 2 -SpacesInContainerLiterals: false +DisableFormat: true ... |