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
@bbatsov Hi 👋 sorry to tag you, I'm sure you're very busy. I don't know who else to ping. I didn't see anything in the CoC or Contributing guidelines about who manages the issues and can be contacted.
This problem bit me at another company since the first report. I am happy to PR this if someone can confirm that it's a bug and not expected to behavior.
When using
inherit_mode
underNaming/MethodParameterName
, it doesn't seem to work.inherit_mode
at the root level works as expected.Expected behavior
Based on the documentation, this seems like
AllowedNames
should be merged, and include the original defaults.Setting this at the root level works - but then it affects all of the cops.
Actual behavior
inherit_mode
under theNaming/MethodParameterName
cop still overwrites the existingAllowedNames
Steps to reproduce the problem
With the latest Rubocop:
Result:
RuboCop version
Tested with the latest rubocop 0.89.1:
And the current version we're using (with
Naming/UncommunicativeMethodParamName
):The text was updated successfully, but these errors were encountered: