multiline_arguments_brackets
requires last tailing closure to contain a newline
#4510
Closed
2 tasks done
New Issue Checklist
Describe the bug
It seems like the
multiline_arguments_brackets
assumes that the end of thecallBody
is still within the parenthesis for the arguments.In the case where call contains a trailing closure, the rule will generate a false positive when the closure is a single line.
In the case where the call contains multiple trailing closure, the rule will generate a false positive when the last trailing closure is a single line. Earlier trailing closures can be one one or multiple lines and it wont affect the results.
Complete output when running SwiftLint, including the stack trace and command used
Environment
swiftlint version
to be sure)? 0.50.0xcodebuild -version
)? 14.1The text was updated successfully, but these errors were encountered: