mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00: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:
parent
b94294f6b5
commit
136130d3f0
@ -33,8 +33,9 @@ Layout/AlignArguments:
|
|||||||
Layout/EmptyLineBetweenDefs:
|
Layout/EmptyLineBetweenDefs:
|
||||||
AllowAdjacentOneLineDefs: true
|
AllowAdjacentOneLineDefs: true
|
||||||
|
|
||||||
|
# You can see results by "rubocop --only Layout/SpaceBeforeBlockBraces"
|
||||||
Layout/SpaceBeforeBlockBraces:
|
Layout/SpaceBeforeBlockBraces:
|
||||||
Enabled: false
|
EnforcedStyle: space
|
||||||
|
|
||||||
# You can see results by "rubocop --only Layout/SpaceInsideBlockBraces"
|
# You can see results by "rubocop --only Layout/SpaceInsideBlockBraces"
|
||||||
Layout/SpaceInsideBlockBraces:
|
Layout/SpaceInsideBlockBraces:
|
||||||
|
|||||||
@ -230,6 +230,13 @@ Layout/SpaceAroundEqualsInParameterDefault:
|
|||||||
Layout/SpaceAroundOperators:
|
Layout/SpaceAroundOperators:
|
||||||
Enabled: false
|
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.
|
# Cop supports --auto-correct.
|
||||||
Layout/SpaceBeforeComma:
|
Layout/SpaceBeforeComma:
|
||||||
Exclude:
|
Exclude:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user