mirror of
https://github.com/realm/SwiftLint.git
synced 2026-05-07 20:12:49 +00:00
@@ -47,6 +47,7 @@
|
||||
* Rewrite `vertical_parameter_alignment_on_call` rule using SwiftSyntax, fixing
|
||||
some false positives.
|
||||
[Marcelo Fabri](https://github.com/marcelofabri)
|
||||
[#3581](https://github.com/realm/SwiftLint/issues/3581)
|
||||
|
||||
* Rewrite `no_grouping_extension` rule using SwiftSyntax.
|
||||
[Marcelo Fabri](https://github.com/marcelofabri)
|
||||
|
||||
@@ -71,6 +71,17 @@ struct VerticalParameterAlignmentOnCallRule: OptInRule {
|
||||
Example("""
|
||||
myFunc(foo: 0,
|
||||
bar: baz == 0)
|
||||
"""),
|
||||
Example("""
|
||||
UIViewPropertyAnimator.runningPropertyAnimator(
|
||||
withDuration: 2.0,
|
||||
delay: 0.0,
|
||||
options: [.curveEaseIn]
|
||||
) {
|
||||
// animations
|
||||
} completion: { _ in
|
||||
// completion
|
||||
}
|
||||
""")
|
||||
],
|
||||
triggeringExamples: [
|
||||
|
||||
Reference in New Issue
Block a user