Every comment is reduced to its first sentence plus Parameter, Returns and Throws tags. Comment lines: 20670 to 7626. Apple's swift-format applied to every Swift file outside the Obfs4 submodule with a committed .swift-format: four-space indentation, 100 columns, imports ordered. Three test expectations compared source text and depended on line wrapping; they now compare whitespace-collapsed text. Comments and formatting only. 764 XCTest and 55 Swift Testing pass. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
81 lines
2.7 KiB
Plaintext
81 lines
2.7 KiB
Plaintext
{
|
|
"fileScopedDeclarationPrivacy": {
|
|
"accessLevel": "private"
|
|
},
|
|
"indentBlankLines": false,
|
|
"indentConditionalCompilationBlocks": true,
|
|
"indentSwitchCaseLabels": false,
|
|
"indentation": {
|
|
"spaces": 4
|
|
},
|
|
"lineBreakAroundMultilineExpressionChainComponents": false,
|
|
"lineBreakBeforeControlFlowKeywords": false,
|
|
"lineBreakBeforeEachArgument": false,
|
|
"lineBreakBeforeEachGenericRequirement": false,
|
|
"lineBreakBetweenDeclarationAttributes": false,
|
|
"lineLength": 100,
|
|
"maximumBlankLines": 1,
|
|
"multiElementCollectionTrailingCommas": true,
|
|
"multilineTrailingCommaBehavior": "keptAsWritten",
|
|
"noAssignmentInExpressions": {
|
|
"allowedFunctions": [
|
|
"XCTAssertNoThrow"
|
|
]
|
|
},
|
|
"orderedImports": {
|
|
"includeConditionalImports": false,
|
|
"shouldGroupImports": true
|
|
},
|
|
"prioritizeKeepingFunctionOutputTogether": false,
|
|
"reflowMultilineStringLiterals": "never",
|
|
"respectsExistingLineBreaks": true,
|
|
"rules": {
|
|
"AllPublicDeclarationsHaveDocumentation": false,
|
|
"AlwaysUseLiteralForEmptyCollectionInit": false,
|
|
"AlwaysUseLowerCamelCase": true,
|
|
"AmbiguousTrailingClosureOverload": true,
|
|
"AvoidRetroactiveConformances": true,
|
|
"BeginDocumentationCommentWithOneLineSummary": false,
|
|
"DoNotUseSemicolons": true,
|
|
"DontRepeatTypeInStaticProperties": true,
|
|
"FileScopedDeclarationPrivacy": true,
|
|
"FullyIndirectEnum": true,
|
|
"GroupNumericLiterals": true,
|
|
"IdentifiersMustBeASCII": true,
|
|
"NeverForceUnwrap": false,
|
|
"NeverUseForceTry": false,
|
|
"NeverUseImplicitlyUnwrappedOptionals": false,
|
|
"NoAccessLevelOnExtensionDeclaration": true,
|
|
"NoAssignmentInExpressions": true,
|
|
"NoBlockComments": false,
|
|
"NoCasesWithOnlyFallthrough": true,
|
|
"NoEmptyLinesOpeningClosingBraces": false,
|
|
"NoEmptyTrailingClosureParentheses": true,
|
|
"NoLabelsInCasePatterns": true,
|
|
"NoLeadingUnderscores": false,
|
|
"NoParensAroundConditions": true,
|
|
"NoPlaygroundLiterals": true,
|
|
"NoVoidReturnOnFunctionSignature": true,
|
|
"OmitExplicitReturns": false,
|
|
"OneCasePerLine": true,
|
|
"OneVariableDeclarationPerLine": true,
|
|
"OnlyOneTrailingClosureArgument": true,
|
|
"OrderedImports": true,
|
|
"ReplaceForEachWithForLoop": true,
|
|
"ReturnVoidInsteadOfEmptyTuple": true,
|
|
"TypeNamesShouldBeCapitalized": true,
|
|
"UseEarlyExits": false,
|
|
"UseExplicitNilCheckInConditions": true,
|
|
"UseLetInEveryBoundCaseVariable": true,
|
|
"UseShorthandTypeNames": true,
|
|
"UseSingleLinePropertyGetter": true,
|
|
"UseSynthesizedInitializer": true,
|
|
"UseTripleSlashForDocumentationComments": true,
|
|
"UseWhereClausesInForLoops": false,
|
|
"ValidateDocumentationComments": false
|
|
},
|
|
"spacesAroundRangeFormationOperators": false,
|
|
"spacesBeforeEndOfLineComments": 2,
|
|
"tabWidth": 8,
|
|
"version": 1
|
|
} |