rubocop: set Layout/SpaceInsideBlockBraces parameters used more than others

git-svn-id: http://svn.redmine.org/redmine/trunk@18851 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2019-10-23 06:44:31 +00:00
parent 082f1eed51
commit b94294f6b5
2 changed files with 10 additions and 1 deletions

View File

@@ -36,8 +36,10 @@ Layout/EmptyLineBetweenDefs:
Layout/SpaceBeforeBlockBraces:
Enabled: false
# You can see results by "rubocop --only Layout/SpaceInsideBlockBraces"
Layout/SpaceInsideBlockBraces:
Enabled: false
EnforcedStyle: no_space
SpaceBeforeBlockParameters: false
Layout/SpaceInsideHashLiteralBraces:
Enabled: false

View File

@@ -272,6 +272,13 @@ 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.
# SupportedStyles: space, no_space