← All repositories

listless

A simple list app for Apple platforms

git clone https://code.inqk.net/listless.git


.swift-format (2701B)

1{
2  "fileScopedDeclarationPrivacy" : {
3    "accessLevel" : "private"
4  },
5  "indentConditionalCompilationBlocks" : true,
6  "indentSwitchCaseLabels" : false,
7  "indentation" : {
8    "spaces" : 4
9  },
10  "lineBreakAroundMultilineExpressionChainComponents" : false,
11  "lineBreakBeforeControlFlowKeywords" : false,
12  "lineBreakBeforeEachArgument" : false,
13  "lineBreakBeforeEachGenericRequirement" : false,
14  "lineBreakBetweenDeclarationAttributes" : false,
15  "lineLength" : 100,
16  "maximumBlankLines" : 1,
17  "multiElementCollectionTrailingCommas" : true,
18  "noAssignmentInExpressions" : {
19    "allowedFunctions" : [
20      "XCTAssertNoThrow"
21    ]
22  },
23  "prioritizeKeepingFunctionOutputTogether" : false,
24  "reflowMultilineStringLiterals" : "never",
25  "respectsExistingLineBreaks" : true,
26  "rules" : {
27    "AllPublicDeclarationsHaveDocumentation" : false,
28    "AlwaysUseLiteralForEmptyCollectionInit" : false,
29    "AlwaysUseLowerCamelCase" : true,
30    "AmbiguousTrailingClosureOverload" : true,
31    "AvoidRetroactiveConformances" : true,
32    "BeginDocumentationCommentWithOneLineSummary" : false,
33    "DoNotUseSemicolons" : true,
34    "DontRepeatTypeInStaticProperties" : true,
35    "FileScopedDeclarationPrivacy" : true,
36    "FullyIndirectEnum" : true,
37    "GroupNumericLiterals" : true,
38    "IdentifiersMustBeASCII" : true,
39    "NeverForceUnwrap" : false,
40    "NeverUseForceTry" : false,
41    "NeverUseImplicitlyUnwrappedOptionals" : false,
42    "NoAccessLevelOnExtensionDeclaration" : true,
43    "NoAssignmentInExpressions" : true,
44    "NoBlockComments" : true,
45    "NoCasesWithOnlyFallthrough" : true,
46    "NoEmptyLinesOpeningClosingBraces" : false,
47    "NoEmptyTrailingClosureParentheses" : true,
48    "NoLabelsInCasePatterns" : true,
49    "NoLeadingUnderscores" : false,
50    "NoParensAroundConditions" : true,
51    "NoPlaygroundLiterals" : true,
52    "NoVoidReturnOnFunctionSignature" : true,
53    "OmitExplicitReturns" : false,
54    "OneCasePerLine" : true,
55    "OneVariableDeclarationPerLine" : true,
56    "OnlyOneTrailingClosureArgument" : true,
57    "OrderedImports" : true,
58    "ReplaceForEachWithForLoop" : true,
59    "ReturnVoidInsteadOfEmptyTuple" : true,
60    "TypeNamesShouldBeCapitalized" : true,
61    "UseEarlyExits" : false,
62    "UseExplicitNilCheckInConditions" : true,
63    "UseLetInEveryBoundCaseVariable" : true,
64    "UseShorthandTypeNames" : true,
65    "UseSingleLinePropertyGetter" : true,
66    "UseSynthesizedInitializer" : true,
67    "UseTripleSlashForDocumentationComments" : true,
68    "UseWhereClausesInForLoops" : false,
69    "ValidateDocumentationComments" : false
70  },
71  "spacesAroundRangeFormationOperators" : false,
72  "spacesBeforeEndOfLineComments" : 2,
73  "tabWidth" : 8,
74  "version" : 1
75}