-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
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? Sign in to your account
Forbid method calls on multi-line blocks #491
Labels
Comments
👍 Yes, I think that's a good idea. I can add a configuration option. Hmm, what to call it? Maybe |
Sounds good. |
That sounds great! |
jonas054
added a commit
to jonas054/rubocop
that referenced
this issue
Sep 19, 2013
Fixes rubocop#491. Conflicts: CHANGELOG.md
daviddavis
pushed a commit
to daviddavis/rubocop
that referenced
this issue
Sep 21, 2013
Created new cop MethodCalledOnDoEndBlock to check for method calls on do/end blocks. Closes rubocop#491.
bbatsov
added a commit
that referenced
this issue
Sep 21, 2013
[Fix #491] New cop MethodCalledOnDoEndBlock.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In our project, we forbid the following code as it's easy to miss the
c
call.Here's a real-life example.
What do you all think about having an option in
MultilineBlockChain
to check for this?The text was updated successfully, but these errors were encountered: