class RuboCop::Cop::Layout::SpaceBeforeComma

each { |a, b| }
a(1, 2)
[1, 2, 3]
# good
each { |a , b| }
a(1 , 2)
[1 , 2 , 3]
# bad
@example
Checks for comma (,) preceded by space.

def autocorrect(space)

def autocorrect(space)
  PunctuationCorrector.remove_space(space)
end

def kind(token)

def kind(token)
  'comma' if token.comma?
end