mirror of
https://github.com/redmine/redmine.git
synced 2025-12-15 13:00:25 +01:00
rubocop: set Layout/SpaceBeforeBlockBraces parameters used more than others
git-svn-id: http://svn.redmine.org/redmine/trunk@18852 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -33,8 +33,9 @@ Layout/AlignArguments:
|
||||
Layout/EmptyLineBetweenDefs:
|
||||
AllowAdjacentOneLineDefs: true
|
||||
|
||||
# You can see results by "rubocop --only Layout/SpaceBeforeBlockBraces"
|
||||
Layout/SpaceBeforeBlockBraces:
|
||||
Enabled: false
|
||||
EnforcedStyle: space
|
||||
|
||||
# You can see results by "rubocop --only Layout/SpaceInsideBlockBraces"
|
||||
Layout/SpaceInsideBlockBraces:
|
||||
|
||||
@@ -230,6 +230,13 @@ Layout/SpaceAroundEqualsInParameterDefault:
|
||||
Layout/SpaceAroundOperators:
|
||||
Enabled: false
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: space, no_space
|
||||
# SupportedStylesForEmptyBraces: space, no_space
|
||||
Layout/SpaceBeforeBlockBraces:
|
||||
EnforcedStyleForEmptyBraces: no_space
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
Layout/SpaceBeforeComma:
|
||||
Exclude:
|
||||
|
||||
Reference in New Issue
Block a user