Fix SpaceInsideArrayLiteralBrackets cop
This commit is contained in:
parent
6c31b607de
commit
6c0907894f
2 changed files with 1 additions and 12 deletions
|
@ -60,15 +60,6 @@ Layout/IndentHash:
|
|||
Layout/SpaceInLambdaLiteral:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
|
||||
# SupportedStyles: space, no_space, compact
|
||||
# SupportedStylesForEmptyBrackets: space, no_space
|
||||
Layout/SpaceInsideArrayLiteralBrackets:
|
||||
Exclude:
|
||||
- 'spec/lib/gitlab/import_export/relation_factory_spec.rb'
|
||||
|
||||
# Offense count: 327
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
||||
|
|
|
@ -191,9 +191,7 @@ describe Gitlab::ImportExport::RelationFactory do
|
|||
"author" => {
|
||||
"name" => "Administrator"
|
||||
},
|
||||
"events" => [
|
||||
|
||||
]
|
||||
"events" => []
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue