From 0898910b1061eef9a09bd2c8b77378dcd5eb6687 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sun, 25 Aug 2019 15:33:53 +0000 Subject: [PATCH] RuboCop: Disable Layout/SpaceInsideBlockBraces git-svn-id: http://svn.redmine.org/redmine/trunk@18393 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 91af1ddf1..936c9ad96 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -25,6 +25,9 @@ require: Layout/SpaceBeforeBlockBraces: Enabled: false +Layout/SpaceInsideBlockBraces: + Enabled: false + Layout/TrailingWhitespace: AllowInHeredoc: true diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a2c3c5018..0a3abba02 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -466,13 +466,6 @@ 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, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space, compact