KEMBAR78
Enhance `Naming/MethodName` cop to detect offenses within `alias` and `alias_method` by viralpraxis · Pull Request #14403 · rubocop/rubocop · GitHub
Skip to content

Conversation

@viralpraxis
Copy link
Contributor

This is a follow-up to #14325.


Before submitting the PR make sure the following are checked:

  • The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
  • Wrote good commit messages.
  • Feature branch is up-to-date with master (if not - rebase it).
  • Squashed related commits together.
  • Added tests.
  • Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
  • Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

@koic
Copy link
Member

koic commented Jul 30, 2025

It would be beneficial to update the example in the documentation as well.

@viralpraxis viralpraxis force-pushed the enhance-naming-method-name-to-handle-method-aliasing branch from 151a9e6 to 19f9c0b Compare July 30, 2025 16:12
@koic koic merged commit fc0e660 into rubocop:master Jul 30, 2025
23 checks passed
@viralpraxis viralpraxis deleted the enhance-naming-method-name-to-handle-method-aliasing branch July 30, 2025 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants