Skip to content

Commit

Permalink
Disable Style/MultilineBlockChain
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjam committed Mar 28, 2024
1 parent 43f8d2f commit fba3725
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,10 @@ Style/FrozenStringLiteralComment:
# https://rubystyle.guide/#no-datetime
Style/DateTime:
Enabled: true

# This rule conflicts with Style/BlockDelimiters.
# Style/MultilineBlockChain says use do...end instead of {...} for multi-line blocks,
# but Style/BlockDelimiters says use {...} instead of do...end when chaining.
# The latter should take priority over the former, because it leads to more readable code.
Style/MultilineBlockChain:
Enabled: false

0 comments on commit fba3725

Please sign in to comment.