diff options
-rw-r--r-- | .rubocop.yml | 3 | ||||
-rw-r--r-- | .rubocop_todo.yml | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index b7ce1f8dc..9c1be3f87 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -42,8 +42,9 @@ Layout/SpaceInsideBlockBraces: EnforcedStyle: no_space SpaceBeforeBlockParameters: false +# You can see results by "rubocop --only Layout/SpaceInsideHashLiteralBraces" Layout/SpaceInsideHashLiteralBraces: - Enabled: false + EnforcedStyle: no_space Layout/TrailingWhitespace: AllowInHeredoc: true diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a29945e3b..06bdb3488 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -287,6 +287,13 @@ Layout/SpaceInsideBlockBraces: Enabled: false # Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. +# SupportedStyles: space, no_space, compact +# SupportedStylesForEmptyBraces: space, no_space +Layout/SpaceInsideHashLiteralBraces: + Enabled: false + +# Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: space, no_space Layout/SpaceInsideParens: |