csvlint.rb
csvlint.rb copied to clipboard
Syntax: Update syntax for Style/SlicingWithRange
Changes proposed in this pull request:
- Follow recommendation from StandardRb's Style/SlicingWithRange rule
It brakes Ruby 2.5 compatibility. Let's keep this PR in draft until the next major release.
Oh, god, we can definitely drop Ruby 2.5 now. I'll look at updating the matrix for current versions only.
One nice thing about csvlint.io being reimplemented is that it no longer uses this gem (it's all in Node now apparently) so I don't need to worry about changes here breaking that site any more.