From: Toshi MARUYAMA Date: Wed, 23 Oct 2019 13:31:59 +0000 (+0000) Subject: rubocop: set Layout/SpaceInsideHashLiteralBraces parameters used more than others X-Git-Tag: 4.1.0~246 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f4b45f9074ee1098df9044ccd718012c7515f296;p=redmine.git rubocop: set Layout/SpaceInsideHashLiteralBraces parameters used more than others git-svn-id: http://svn.redmine.org/redmine/trunk@18857 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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