Replies: 1 comment
-
Without doing such a release, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently I've fired a bug report that
CountAsOne
can lead to negative counts. This one affectsRSpec/ExampleLength
- which is how I found about it in the first place (well, to be fair, a colleague of mine reported the issue, and I took it from there).Now that the issue is fixed, and it will be out with the next rubocop release, I have this general question: how we should proceed with it, as it essentially fixes our cops as well.
Should we bump the minimum required version of rubocop, to ensure it counts statements correctly, and release rubocop-rspec with a "fix" for that option?
Should we provide a message that CountAsOne has buggy behaviour for rubocop versions prior to X?
Should we do something else?
Beta Was this translation helpful? Give feedback.
All reactions