From f4b45f9074ee1098df9044ccd718012c7515f296 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 23 Oct 2019 13:31:59 +0000 Subject: [PATCH] rubocop: set Layout/SpaceInsideHashLiteralBraces parameters used more than others git-svn-id: http://svn.redmine.org/redmine/trunk@18857 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop.yml | 3 ++- .rubocop_todo.yml | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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 -- 2.39.5