Files
serenity/.clang-format
Nico Weber 4cd3020790 Meta: Tweak .clang-format to allow single-line arrays in JSON
This is consistent with prettier behavior, and at least for annex-h.json
(also in the PR containing this commit) much easier to read.
2025-11-15 08:09:03 -05:00

39 lines
832 B
YAML

---
AlignEscapedNewlines: Left
AlignTrailingComments:
Kind: Always
OverEmptyLines: 0
BasedOnStyle: WebKit
BraceWrapping:
AfterFunction: true
BreakBeforeBraces: Custom
BreakBeforeInheritanceComma: true
BreakConstructorInitializers: BeforeComma
IndentPPDirectives: AfterHash
IndentRequiresClause: false
InsertNewlineAtEOF: true
LineEnding: LF
NamespaceIndentation: None
QualifierAlignment: Right
RemoveSemicolon: true
RequiresClausePosition: WithFollowing
RequiresExpressionIndentation: OuterScope
SpaceAfterTemplateKeyword: false
---
Language: ObjC
BinPackParameters: false
BraceWrapping:
AfterObjCDeclaration: true
ObjCBinPackProtocolList: Never
ObjCBlockIndentWidth: 4
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true
---
Language: Json
BreakArrays: false
...