Skip to content

Commit

Permalink
Merge pull request #1727 from marcelofabri/fix-1488
Browse files Browse the repository at this point in the history
Add test and changelog entry for #1488
  • Loading branch information
marcelofabri authored Jul 30, 2017
2 parents 89e2ff3 + 1a6b214 commit 359602a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
* Make `vertical_parameter_alignment` more robust, fixing false positives and
detecting previously missed violations.
[JP Simard](https://github.com/jpsim)
[#1488](https://github.com/realm/SwiftLint/issues/1488)

## 0.20.1: More Liquid Fabric Softener

Expand Down
5 changes: 5 additions & 0 deletions Rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -13278,6 +13278,11 @@ func foo(a: Void,

```

```swift
func foo(data: (size: CGSize,
identifier: String)) {}
```

</details>
<details>
<summary>Triggering Examples</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ public struct VerticalParameterAlignmentRule: ASTRule, ConfigurationProviderRule
"func regex(_ pattern: String,\n" +
" options: NSRegularExpression.Options = [.anchorsMatchLines,\n" +
" .dotMatchesLineSeparators]) -> NSRegularExpression\n",
"func foo(a: Void,\n b: [String: String] =\n [:]) {\n}\n"
"func foo(a: Void,\n b: [String: String] =\n [:]) {\n}\n",
"func foo(data: (size: CGSize,\n" +
" identifier: String)) {}"
],
triggeringExamples: [
"func validateFunction(_ file: File, kind: SwiftDeclarationKind,\n" +
Expand Down

0 comments on commit 359602a

Please sign in to comment.