class RuboCop::Cop::Lint::NextWithoutAccumulator

Don’t omit the accumulator when calling ‘next` in a `reduce` block.

@example

# bad
result = (1..4).reduce(0) do |acc, i|
  next if i.odd?
  acc + i
end

# good
result = (1..4).reduce(0) do |acc, i|
  next acc if i.odd?
  acc + i
end