]> source.dussan.org Git - redmine.git/commitdiff
RuboCop: Disable Layout/SpaceInsideHashLiteralBraces
authorGo MAEDA <maeda@farend.jp>
Thu, 3 Oct 2019 00:08:02 +0000 (00:08 +0000)
committerGo MAEDA <maeda@farend.jp>
Thu, 3 Oct 2019 00:08:02 +0000 (00:08 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18583 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop.yml
.rubocop_todo.yml

index 0da6b1ce7dcae0adb734c17cfbf279d7e4a69a9e..90e8bcef0589fd4b7b090d0536ad7b16619300d3 100644 (file)
@@ -28,6 +28,9 @@ Layout/SpaceBeforeBlockBraces:
 Layout/SpaceInsideBlockBraces:
   Enabled: false
 
+Layout/SpaceInsideHashLiteralBraces:
+  Enabled: false
+
 Layout/TrailingWhitespace:
   AllowInHeredoc: true
 
index 69f85ebccc6e964e2bebd6d33edb6c5175ba8274..ff9f9fcea557218ee97a2921598e1ab563cac0d2 100644 (file)
@@ -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