Skip to content

Commit 22f5c58

Browse files
authored
Enable Layout/SpaceInsideHashLiteralBraces
- This is part of our styleguide and was enabled in `github/github` in 2022, so let's make it the default.
1 parent 5db0a50 commit 22f5c58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/default.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,8 @@ Layout/SpaceInsideBlockBraces:
331331
Enabled: true
332332

333333
Layout/SpaceInsideHashLiteralBraces:
334-
Enabled: false
334+
Enabled: true
335+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#spaces-operators
335336

336337
Layout/SpaceInsideParens:
337338
Enabled: true

0 commit comments

Comments
 (0)