Skip to content

Commit

Permalink
Style/HashSyntax: don't force shorthand style
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Oct 4, 2024
1 parent 556b055 commit 308bc66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ Layout/EmptyLinesAroundModuleBody:
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
Style/HashSyntax:
Enabled: true
EnforcedShorthandSyntax: either

# Method definitions after `private` or `protected` isolated calls need one
# extra level of indentation.
Expand Down

0 comments on commit 308bc66

Please sign in to comment.