mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
rubocop: revert r18852
git-svn-id: http://svn.redmine.org/redmine/trunk@18867 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -33,9 +33,11 @@ Layout/AlignArguments:
|
|||||||
Layout/EmptyLineBetweenDefs:
|
Layout/EmptyLineBetweenDefs:
|
||||||
AllowAdjacentOneLineDefs: true
|
AllowAdjacentOneLineDefs: true
|
||||||
|
|
||||||
# You can see results by "rubocop --only Layout/SpaceBeforeBlockBraces"
|
|
||||||
Layout/SpaceBeforeBlockBraces:
|
Layout/SpaceBeforeBlockBraces:
|
||||||
EnforcedStyle: space
|
# "space" is used more than "no_space".
|
||||||
|
# But "no_space" is more natural in one liner.
|
||||||
|
# str = path.to_s.split(%r{[/\\]}).select{|p| !p.blank?}.join("/")
|
||||||
|
Enabled: false
|
||||||
|
|
||||||
# You can see results by "rubocop --only Layout/SpaceInsideBlockBraces"
|
# You can see results by "rubocop --only Layout/SpaceInsideBlockBraces"
|
||||||
Layout/SpaceInsideBlockBraces:
|
Layout/SpaceInsideBlockBraces:
|
||||||
|
|||||||
@@ -266,13 +266,6 @@ 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:
|
||||||
|
|||||||
Reference in New Issue
Block a user