From df1c54146f36e16becb4de7137074238ca496776 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 3 Oct 2019 00:08:02 +0000 Subject: [PATCH] RuboCop: Disable Layout/SpaceInsideHashLiteralBraces git-svn-id: http://svn.redmine.org/redmine/trunk@18583 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop.yml | 3 +++ .rubocop_todo.yml | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 0da6b1ce7..90e8bcef0 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -28,6 +28,9 @@ Layout/SpaceBeforeBlockBraces: Layout/SpaceInsideBlockBraces: Enabled: false +Layout/SpaceInsideHashLiteralBraces: + Enabled: false + Layout/TrailingWhitespace: AllowInHeredoc: true diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 69f85ebcc..ff9f9fcea 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -451,13 +451,6 @@ Layout/SpaceInsideArrayLiteralBrackets: - 'test/unit/mailer_test.rb' - 'test/unit/search_test.rb' -# 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