Skip to content

Fix false positives for Layout/RedundantLineBreak#13773

Merged
koic merged 1 commit intorubocop:masterfrom
koic:fix_false_positive_for_layout_redundant_line_break_cop
Jan 30, 2025
Merged

Fix false positives for Layout/RedundantLineBreak#13773
koic merged 1 commit intorubocop:masterfrom
koic:fix_false_positive_for_layout_redundant_line_break_cop

Conversation

@koic
Copy link
Member

@koic koic commented Jan 30, 2025

This PR fixes false positives for Layout/RedundantLineBreak when using numbered block parameter.


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.
  • Commit message starts with [Fix #issue-number] (if the related issue exists).
  • 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 koic force-pushed the fix_false_positive_for_layout_redundant_line_break_cop branch from 450d50a to 7a205cb Compare January 30, 2025 02:11
This PR fixes false positives for `Layout/RedundantLineBreak`
when using numbered block parameter.
@koic koic force-pushed the fix_false_positive_for_layout_redundant_line_break_cop branch from 7a205cb to bf21553 Compare January 30, 2025 02:13
@koic koic merged commit e90d0d6 into rubocop:master Jan 30, 2025
23 checks passed
@koic koic deleted the fix_false_positive_for_layout_redundant_line_break_cop branch January 30, 2025 02:28
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.

1 participant