Also all other combinations around comparison, and adding/subtracting 1 on either side.
This should also apply to changing a..b + 1 to a..=b.
That's still unstable, but once it becomes stable, yes, that should be linted against
Now that it has been stabilized shall I have a go at implementing the second part of the lint?
jup!
yup?
The second part is all yours
shouldn't this be closed?
It doesn't seem to be working?
oh okay. Thought that you have tests for that in the pr.
Oh yea, we do have tests. I just screwed up on the playground. This works.
Most helpful comment
This should also apply to changing
a..b + 1toa..=b.