Pattern: Space after :
Issue: -
Checks for colon (:
) not followed by some kind of space. This rule does not handle spaces after a ternary operator.
# bad
def f(a:, b:2); {a:3}; end
# good
def f(a:, b: 2); {a: 3}; end
Pattern: Space after :
Issue: -
Checks for colon (:
) not followed by some kind of space. This rule does not handle spaces after a ternary operator.
# bad
def f(a:, b:2); {a:3}; end
# good
def f(a:, b: 2); {a: 3}; end