Skip to content

Lint: Fix blocks#1185

Merged
sunny merged 1 commit intoRubyMoney:mainfrom
sunny:lint-block
Dec 11, 2025
Merged

Lint: Fix blocks#1185
sunny merged 1 commit intoRubyMoney:mainfrom
sunny:lint-block

Conversation

@sunny
Copy link
Member

@sunny sunny commented Dec 11, 2025

Fixes the following cops:

  • Layout/MultilineBlockLayout
  • Lint/ConstantDefinitionInBlock
  • Lint/EmptyBlock
  • Lint/UnusedBlockArgument
  • Style/BlockDelimiters
  • Style/ExplicitBlockArgument

In the specs prefer a regular Ruby object rather than a JSON string for example currencies.

See also #1134

Fixes the following cops:
- Layout/MultilineBlockLayout
- Lint/ConstantDefinitionInBlock
- Lint/EmptyBlock
- Lint/UnusedBlockArgument
- Style/BlockDelimiters
- Style/ExplicitBlockArgument

See also RubyMoney#1134
@sunny sunny merged commit ad6aa14 into RubyMoney:main Dec 11, 2025
7 checks passed
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