Skip to content

Commit

Permalink
Merge pull request #112 from Shopify/at-rbi-redundant-line-break
Browse files Browse the repository at this point in the history
Add more rules for blocks
  • Loading branch information
Morriar authored Jun 27, 2022
2 parents 903a651 + ab97bd6 commit f210297
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/rbi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ Layout/ParameterAlignment:

Layout/RedundantLineBreak:
Enabled: true
InspectBlocks: true

Layout/SpaceAfterColon:
Enabled: true
Expand Down Expand Up @@ -231,6 +232,9 @@ Sorbet/ValidSigil:

## Style

Style/BlockDelimiters:
Enabled: true

Style/ClassAndModuleChildren:
Enabled: true
EnforcedStyle: compact
Expand Down

0 comments on commit f210297

Please sign in to comment.