Skip to content

Commit

Permalink
Layout/HashAlignment: Allow both key and table styles
Browse files Browse the repository at this point in the history
  • Loading branch information
root-expert committed May 17, 2022
1 parent 6db2eb1 commit 00ea471
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ Layout/ArrayAlignment:

Layout/HashAlignment:
Enabled: True
EnforcedHashRocketStyle: [key, table]
EnforcedColonStyle: [key, table]

Layout/ParameterAlignment:
Enabled: True
Expand Down

0 comments on commit 00ea471

Please sign in to comment.