KEMBAR78
Enhance `Lint/ConstantOverwrittenInRescue` to detect offenses within nested constants by viralpraxis · Pull Request #14575 · rubocop/rubocop · GitHub
Skip to content

Conversation

@viralpraxis
Copy link
Contributor

Follow-up to #14566


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.

@viralpraxis viralpraxis force-pushed the enhance-constant-overwritten-in-rescue-to-detect-nested-constant-name branch from 1d108f2 to 5dc1d76 Compare October 1, 2025 21:52
@viralpraxis viralpraxis force-pushed the enhance-constant-overwritten-in-rescue-to-detect-nested-constant-name branch from 5dc1d76 to 4c370f7 Compare October 1, 2025 21:56
@viralpraxis viralpraxis changed the title Enhance Lint::ConstantOverwrittenInRescue` to detect offenses within nested constants Enhance Lint/ConstantOverwrittenInRescue` to detect offenses within nested constants Oct 1, 2025
@viralpraxis viralpraxis changed the title Enhance Lint/ConstantOverwrittenInRescue` to detect offenses within nested constants Enhance Lint/ConstantOverwrittenInRescue to detect offenses within nested constants Oct 1, 2025
@koic koic merged commit 81bec2b into rubocop:master Oct 2, 2025
22 checks passed
@koic
Copy link
Member

koic commented Oct 2, 2025

Thanks!

@viralpraxis viralpraxis deleted the enhance-constant-overwritten-in-rescue-to-detect-nested-constant-name branch October 2, 2025 10:29
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