diff --git a/.rubocop.yml b/.rubocop.yml index 8a92acfd3..9855bdece 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -36,8 +36,10 @@ Layout/EmptyLineBetweenDefs: Layout/SpaceBeforeBlockBraces: Enabled: false +# You can see results by "rubocop --only Layout/SpaceInsideBlockBraces" Layout/SpaceInsideBlockBraces: - Enabled: false + EnforcedStyle: no_space + SpaceBeforeBlockParameters: false Layout/SpaceInsideHashLiteralBraces: Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 8517c19ce..0d769fdfa 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -272,6 +272,13 @@ Layout/SpaceInsideArrayLiteralBrackets: - 'test/unit/mailer_test.rb' - 'test/unit/search_test.rb' +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. +# SupportedStyles: space, no_space +# SupportedStylesForEmptyBraces: space, no_space +Layout/SpaceInsideBlockBraces: + Enabled: false + # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: space, no_space