diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_closing_braces.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_closing_braces.html index 412110a79..8f5ef7fb1 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_closing_braces.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_closing_braces.html @@ -328,11 +328,20 @@
  • Default configuration: severity: warning, only_enforce_before_trivial_lines: false
  • Non Triggering Examples

    -
    func foo() {
    -  run(5) { x in
    -    print(x)
    -  }
    -}
    +
    [
    +1,
    +2,
    +3
    +]
    +
    +
    foo(
    +    x: 5,
    +    y:6
    +)
    +
    +
    print([
    +  1
    +])
     
    print([foo {
       var sum = 0
    @@ -345,21 +354,6 @@
       return mul
     }])
     
    -
    foo(
    -    x: 5,
    -    y:6
    -)
    -
    -
    [
    -1,
    -2,
    -3
    -]
    -
    -
    print([
    -  1
    -])
    -
    do {
       print("x is 5")
     }
    @@ -372,6 +366,12 @@
       print("x is 5")
     }
     
    +
    func foo() {
    +  run(5) { x in
    +    print(x)
    +  }
    +}
    +
    [1, 2].map { $0 }.filter { true }
     
    [1, 2].map { $0 }.filter { num in true }
    @@ -399,12 +399,23 @@
     }
     

    Triggering Examples

    -
    func foo() {
    -  run(5) { x in
    -    print(x)
    -  }
    +
    [
    +1,
    +2,
    +3
     ↓
    -}
    +]
    +
    +
    foo(
    +    x: 5,
    +    y:6
    +↓
    +)
    +
    +
    print([
    +  1
    +↓
    +])
     
    print([foo {
       var sum = 0
    @@ -418,23 +429,10 @@
     ↓
     }])
     
    -
    foo(
    -    x: 5,
    -    y:6
    +
    do {
    +  print("x is 5")
     ↓
    -)
    -
    -
    [
    -1,
    -2,
    -3
    -↓
    -]
    -
    -
    print([
    -  1
    -↓
    -])
    +}
     
    do {
       print("x is 5")
    @@ -448,8 +446,10 @@
     
     }
     
    -
    do {
    -  print("x is 5")
    +
    func foo() {
    +  run(5) { x in
    +    print(x)
    +  }
     ↓
     }
     
    diff --git a/docsets/SwiftLintFramework.tgz b/docsets/SwiftLintFramework.tgz index 250fd632a..b4919069b 100644 Binary files a/docsets/SwiftLintFramework.tgz and b/docsets/SwiftLintFramework.tgz differ diff --git a/vertical_whitespace_closing_braces.html b/vertical_whitespace_closing_braces.html index 412110a79..8f5ef7fb1 100644 --- a/vertical_whitespace_closing_braces.html +++ b/vertical_whitespace_closing_braces.html @@ -328,11 +328,20 @@
  • Default configuration: severity: warning, only_enforce_before_trivial_lines: false
  • Non Triggering Examples

    -
    func foo() {
    -  run(5) { x in
    -    print(x)
    -  }
    -}
    +
    [
    +1,
    +2,
    +3
    +]
    +
    +
    foo(
    +    x: 5,
    +    y:6
    +)
    +
    +
    print([
    +  1
    +])
     
    print([foo {
       var sum = 0
    @@ -345,21 +354,6 @@
       return mul
     }])
     
    -
    foo(
    -    x: 5,
    -    y:6
    -)
    -
    -
    [
    -1,
    -2,
    -3
    -]
    -
    -
    print([
    -  1
    -])
    -
    do {
       print("x is 5")
     }
    @@ -372,6 +366,12 @@
       print("x is 5")
     }
     
    +
    func foo() {
    +  run(5) { x in
    +    print(x)
    +  }
    +}
    +
    [1, 2].map { $0 }.filter { true }
     
    [1, 2].map { $0 }.filter { num in true }
    @@ -399,12 +399,23 @@
     }
     

    Triggering Examples

    -
    func foo() {
    -  run(5) { x in
    -    print(x)
    -  }
    +
    [
    +1,
    +2,
    +3
     ↓
    -}
    +]
    +
    +
    foo(
    +    x: 5,
    +    y:6
    +↓
    +)
    +
    +
    print([
    +  1
    +↓
    +])
     
    print([foo {
       var sum = 0
    @@ -418,23 +429,10 @@
     ↓
     }])
     
    -
    foo(
    -    x: 5,
    -    y:6
    +
    do {
    +  print("x is 5")
     ↓
    -)
    -
    -
    [
    -1,
    -2,
    -3
    -↓
    -]
    -
    -
    print([
    -  1
    -↓
    -])
    +}
     
    do {
       print("x is 5")
    @@ -448,8 +446,10 @@
     
     }
     
    -
    do {
    -  print("x is 5")
    +
    func foo() {
    +  run(5) { x in
    +    print(x)
    +  }
     ↓
     }