| { |
| "fileScopedDeclarationPrivacy" : { |
| "accessLevel" : "private" |
| }, |
| "indentConditionalCompilationBlocks" : false, |
| "indentSwitchCaseLabels" : false, |
| "indentation" : { |
| "spaces" : 4 |
| }, |
| "lineBreakAroundMultilineExpressionChainComponents" : true, |
| "lineBreakBeforeControlFlowKeywords" : false, |
| "lineBreakBeforeEachArgument" : true, |
| "lineBreakBeforeEachGenericRequirement" : false, |
| "lineBreakBetweenDeclarationAttributes" : true, |
| "lineLength" : 140, |
| "maximumBlankLines" : 1, |
| "multiElementCollectionTrailingCommas" : true, |
| "noAssignmentInExpressions" : { |
| "allowedFunctions" : [ |
| "XCTAssertNoThrow" |
| ] |
| }, |
| "prioritizeKeepingFunctionOutputTogether" : true, |
| "reflowMultilineStringLiterals" : { |
| "never" : { |
| |
| } |
| }, |
| "respectsExistingLineBreaks" : true, |
| "rules" : { |
| "AllPublicDeclarationsHaveDocumentation" : true, |
| "AlwaysUseLiteralForEmptyCollectionInit" : true, |
| "AlwaysUseLowerCamelCase" : true, |
| "AmbiguousTrailingClosureOverload" : true, |
| "AvoidRetroactiveConformances" : true, |
| "BeginDocumentationCommentWithOneLineSummary" : true, |
| "DoNotUseSemicolons" : true, |
| "DontRepeatTypeInStaticProperties" : true, |
| "FileScopedDeclarationPrivacy" : true, |
| "FullyIndirectEnum" : true, |
| "GroupNumericLiterals" : true, |
| "IdentifiersMustBeASCII" : true, |
| "NeverForceUnwrap" : true, |
| "NeverUseForceTry" : true, |
| "NeverUseImplicitlyUnwrappedOptionals" : true, |
| "NoAccessLevelOnExtensionDeclaration" : true, |
| "NoAssignmentInExpressions" : true, |
| "NoBlockComments" : true, |
| "NoCasesWithOnlyFallthrough" : true, |
| "NoEmptyLinesOpeningClosingBraces" : true, |
| "NoEmptyTrailingClosureParentheses" : true, |
| "NoLabelsInCasePatterns" : true, |
| "NoLeadingUnderscores" : true, |
| "NoParensAroundConditions" : true, |
| "NoPlaygroundLiterals" : true, |
| "NoVoidReturnOnFunctionSignature" : true, |
| "OmitExplicitReturns" : true, |
| "OneCasePerLine" : true, |
| "OneVariableDeclarationPerLine" : true, |
| "OnlyOneTrailingClosureArgument" : true, |
| "OrderedImports" : true, |
| "ReplaceForEachWithForLoop" : true, |
| "ReturnVoidInsteadOfEmptyTuple" : true, |
| "TypeNamesShouldBeCapitalized" : true, |
| "UseEarlyExits" : true, |
| "UseExplicitNilCheckInConditions" : true, |
| "UseLetInEveryBoundCaseVariable" : true, |
| "UseShorthandTypeNames" : true, |
| "UseSingleLinePropertyGetter" : false, |
| "UseSynthesizedInitializer" : true, |
| "UseTripleSlashForDocumentationComments" : true, |
| "UseWhereClausesInForLoops" : true, |
| "ValidateDocumentationComments" : true |
| }, |
| "spacesAroundRangeFormationOperators" : false, |
| "spacesBeforeEndOfLineComments" : 1, |
| "tabWidth" : 4, |
| "version" : 1 |
| } |