Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Both Style/EndBlock & Lint/EndInMethod do the same thing. END block being inside/outside method makes no difference.
Both were added long back in 0.9.0.
Commits don't tell the reasoning either:  & 
Also the documentation of Lint/EndInMethod suggests END outside method is good which contradicts Style/EndBlock.
One cop to deal with END blocks.
Current master branch.
The text was updated successfully, but these errors were encountered:
Great catch! Looking at 8466928 it seems I did this first and then created the other cop based on the remark @whitequark made. I agree it probably doesn't make sense to have two of those.
Sorry, something went wrong.
Remove Lint/EndInMethod cop
remove dup redundant
remove dup redundant Lint/EndInMethod cop
Successfully merging a pull request may close this issue.