Commit 6c090789 authored by Semyon Pupkov's avatar Semyon Pupkov

Fix SpaceInsideArrayLiteralBrackets cop

parent 6c31b607
...@@ -60,15 +60,6 @@ Layout/IndentHash: ...@@ -60,15 +60,6 @@ Layout/IndentHash:
Layout/SpaceInLambdaLiteral: Layout/SpaceInLambdaLiteral:
Enabled: false 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 # Offense count: 327
# Cop supports --auto-correct. # Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
......
...@@ -191,9 +191,7 @@ describe Gitlab::ImportExport::RelationFactory do ...@@ -191,9 +191,7 @@ describe Gitlab::ImportExport::RelationFactory do
"author" => { "author" => {
"name" => "Administrator" "name" => "Administrator"
}, },
"events" => [ "events" => []
]
} }
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment