diff --git a/Rules.md b/Rules.md index 71dc2b29..224d0a8b 100644 --- a/Rules.md +++ b/Rules.md @@ -8,6 +8,7 @@ * [blankLinesAroundMark](#blankLinesAroundMark) * [blankLinesAtEndOfScope](#blankLinesAtEndOfScope) * [blankLinesAtStartOfScope](#blankLinesAtStartOfScope) +* [blankLinesBetweenChainedFunctions](#blankLinesBetweenChainedFunctions) * [blankLinesBetweenScopes](#blankLinesBetweenScopes) * [braces](#braces) * [conditionalAssignment](#conditionalAssignment) @@ -89,7 +90,6 @@ # Opt-in Rules (disabled by default) * [acronyms](#acronyms) -* [blankLinesBetweenChainedFunctions](#blankLinesBetweenChainedFunctions) * [blankLinesBetweenImports](#blankLinesBetweenImports) * [blockComments](#blockComments) * [docComments](#docComments) diff --git a/Sources/Rules.swift b/Sources/Rules.swift index 49f4c5ef..de08c05b 100644 --- a/Sources/Rules.swift +++ b/Sources/Rules.swift @@ -1144,8 +1144,7 @@ public struct _FormatRules { public let blankLinesBetweenChainedFunctions = FormatRule( help: """ Remove blank lines between chained functions but keep the linebreaks. - """, - disabledByDefault: true + """ ) { formatter in formatter.forEach(.operator(".", .infix)) { i, _ in let endOfLine = formatter.endOfLine(at: i)