Pattern: Space between method name and ()
Issue: -
Don't add a space between the method name and the parentheses.
Examples of correct code:
foo()
object.foo()
object.foo(1)
object.foo(value: 1)
object.foo { print($0 }
list.sorted { $0.0 < $1.0 }.map { $0.value }
self.init(rgb: (Int) (colorInt))
Examples of incorrect code:
foo↓ ()
object.foo↓ ()
object.foo↓ (1)
object.foo↓ (value: 1)
object.foo↓ () {}
object.foo↓ ()