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 @@ -286,6 +286,13 @@ Layout/SpaceInsideArrayLiteralBrackets: 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