|
13 | 13 | "lineBreakBeforeEachGenericRequirement" : true,
|
14 | 14 | "lineLength" : 120,
|
15 | 15 | "maximumBlankLines" : 1,
|
16 |
| - "prioritizeKeepingFunctionOutputTogether" : false, |
| 16 | + "multiElementCollectionTrailingCommas" : true, |
| 17 | + "noAssignmentInExpressions" : { |
| 18 | + "allowedFunctions" : [ |
| 19 | + "XCTAssertNoThrow" |
| 20 | + ] |
| 21 | + }, |
| 22 | + "prioritizeKeepingFunctionOutputTogether" : true, |
17 | 23 | "respectsExistingLineBreaks" : true,
|
18 | 24 | "rules" : {
|
19 | 25 | "AllPublicDeclarationsHaveDocumentation" : true,
|
| 26 | + "AlwaysUseLiteralForEmptyCollectionInit" : true, |
20 | 27 | "AlwaysUseLowerCamelCase" : true,
|
21 | 28 | "AmbiguousTrailingClosureOverload" : true,
|
22 | 29 | "BeginDocumentationCommentWithOneLineSummary" : true,
|
|
37 | 44 | "NoLabelsInCasePatterns" : true,
|
38 | 45 | "NoLeadingUnderscores" : true,
|
39 | 46 | "NoParensAroundConditions" : true,
|
| 47 | + "NoPlaygroundLiterals" : true, |
40 | 48 | "NoVoidReturnOnFunctionSignature" : true,
|
| 49 | + "OmitExplicitReturns" : true, |
41 | 50 | "OneCasePerLine" : true,
|
42 | 51 | "OneVariableDeclarationPerLine" : true,
|
43 | 52 | "OnlyOneTrailingClosureArgument" : true,
|
44 | 53 | "OrderedImports" : true,
|
| 54 | + "ReplaceForEachWithForLoop" : true, |
45 | 55 | "ReturnVoidInsteadOfEmptyTuple" : true,
|
| 56 | + "TypeNamesShouldBeCapitalized" : true, |
46 | 57 | "UseEarlyExits" : true,
|
47 | 58 | "UseLetInEveryBoundCaseVariable" : true,
|
48 | 59 | "UseShorthandTypeNames" : true,
|
|
0 commit comments