Enable the Layout/SpaceBeforeBlockBraces cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
932a6e69b8
commit
c946ee1282
|
@ -207,6 +207,13 @@ Layout/SpaceAroundKeyword:
|
|||
Layout/SpaceAroundOperators:
|
||||
Enabled: true
|
||||
|
||||
# Checks that block braces have or don't have a space before the opening
|
||||
# brace depending on configuration.
|
||||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||||
# SupportedStyles: space, no_space
|
||||
Layout/SpaceBeforeBlockBraces:
|
||||
Enabled: true
|
||||
|
||||
# No spaces before commas.
|
||||
Layout/SpaceBeforeComma:
|
||||
Enabled: true
|
||||
|
|
|
@ -26,13 +26,6 @@ Layout/IndentArray:
|
|||
Layout/IndentHash:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 174
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||||
# SupportedStyles: space, no_space
|
||||
Layout/SpaceBeforeBlockBraces:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 8
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowForAlignment.
|
||||
|
|
Loading…
Reference in New Issue