mirror of
https://github.com/swift-server/swift-openapi-async-http-client.git
synced 2026-05-03 07:42:29 +00:00
e48b152d18
### Motivation - Relates to [#230](https://github.com/apple/swift-openapi-generator/issues/230) ### Modifications - Disable respectsExistingLineBreaks .swift-format rule and address changes requested ### Result - One of the .swift-format rules will be disabled ### Test Plan - Run Tests
59 lines
2.0 KiB
Plaintext
59 lines
2.0 KiB
Plaintext
{
|
|
"fileScopedDeclarationPrivacy" : {
|
|
"accessLevel" : "private"
|
|
},
|
|
"indentation" : {
|
|
"spaces" : 4
|
|
},
|
|
"indentConditionalCompilationBlocks" : false,
|
|
"indentSwitchCaseLabels" : false,
|
|
"lineBreakAroundMultilineExpressionChainComponents" : true,
|
|
"lineBreakBeforeControlFlowKeywords" : false,
|
|
"lineBreakBeforeEachArgument" : true,
|
|
"lineBreakBeforeEachGenericRequirement" : true,
|
|
"lineLength" : 120,
|
|
"maximumBlankLines" : 1,
|
|
"prioritizeKeepingFunctionOutputTogether" : false,
|
|
"respectsExistingLineBreaks" : false,
|
|
"rules" : {
|
|
"AllPublicDeclarationsHaveDocumentation" : true,
|
|
"AlwaysUseLowerCamelCase" : false,
|
|
"AmbiguousTrailingClosureOverload" : true,
|
|
"BeginDocumentationCommentWithOneLineSummary" : false,
|
|
"DoNotUseSemicolons" : true,
|
|
"DontRepeatTypeInStaticProperties" : false,
|
|
"FileScopedDeclarationPrivacy" : true,
|
|
"FullyIndirectEnum" : true,
|
|
"GroupNumericLiterals" : true,
|
|
"IdentifiersMustBeASCII" : true,
|
|
"NeverForceUnwrap" : false,
|
|
"NeverUseForceTry" : false,
|
|
"NeverUseImplicitlyUnwrappedOptionals" : false,
|
|
"NoAccessLevelOnExtensionDeclaration" : false,
|
|
"NoAssignmentInExpressions" : true,
|
|
"NoBlockComments" : true,
|
|
"NoCasesWithOnlyFallthrough" : true,
|
|
"NoEmptyTrailingClosureParentheses" : true,
|
|
"NoLabelsInCasePatterns" : false,
|
|
"NoLeadingUnderscores" : false,
|
|
"NoParensAroundConditions" : true,
|
|
"NoVoidReturnOnFunctionSignature" : true,
|
|
"OneCasePerLine" : true,
|
|
"OneVariableDeclarationPerLine" : true,
|
|
"OnlyOneTrailingClosureArgument" : true,
|
|
"OrderedImports" : false,
|
|
"ReturnVoidInsteadOfEmptyTuple" : true,
|
|
"UseEarlyExits" : true,
|
|
"UseLetInEveryBoundCaseVariable" : false,
|
|
"UseShorthandTypeNames" : true,
|
|
"UseSingleLinePropertyGetter" : false,
|
|
"UseSynthesizedInitializer" : true,
|
|
"UseTripleSlashForDocumentationComments" : true,
|
|
"UseWhereClausesInForLoops" : false,
|
|
"ValidateDocumentationComments" : true
|
|
},
|
|
"spacesAroundRangeFormationOperators" : false,
|
|
"tabWidth" : 8,
|
|
"version" : 1
|
|
}
|