You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a class to use paths relative to the app's root when requiring files, and in some other cases. It uses one-letter parameter names, which might be bad in some cases, but not in this one. Or so I think. So I decided to disable Naming/MethodParameterName with end-of-line comments and used 2 spaces:
I created a class to use paths relative to the app's root when requiring files, and in some other cases. It uses one-letter parameter names, which might be bad in some cases, but not in this one. Or so I think. So I decided to disable
Naming/MethodParameterName
with end-of-line comments and used 2 spaces:app_root.rb
:I'm okay with using one space here, but
rubocop
flagged only theload
andjoin
lines.Expected behavior
I would expect
rubocop
to flag all the lines.Actual behavior
Only the
load
andjoin
lines were flagged.Apparently this happens because the first and last lines are for some reason excluded. But I couldn't quickly figure out the reason.
Steps to reproduce the problem
Gemfile
:RuboCop version
The text was updated successfully, but these errors were encountered: