Skip to content

Fix Style/SlicingWithRange offences

Igor Drozdov requested to merge id-fix-slicing-with-range into master

What does this MR do and why?

It enables Style/SlicingWithRange Rubocop rule that encourages using endless range for slicing instead of specifying -1

https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/SlicingWithRange

Merge request reports