Skip to content

Commit

Permalink
Add example for realm#3581 (realm#5334)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelofabri authored and Martijn committed Dec 20, 2023
1 parent 555a3e8 commit a77cacf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -51,6 +51,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)
Expand Down
Expand Up @@ -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: [
Expand Down

0 comments on commit a77cacf

Please sign in to comment.