mirror of
https://github.com/redmine/redmine.git
synced 2025-12-15 21:10:27 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user