Fix SpaceInsideArrayLiteralBrackets cop

This commit is contained in:
Semyon Pupkov 2018-09-20 21:49:26 +05:00
parent 6c31b607de
commit 6c0907894f
2 changed files with 1 additions and 12 deletions

View File

@ -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.

View File

@ -191,9 +191,7 @@ describe Gitlab::ImportExport::RelationFactory do
"author" => {
"name" => "Administrator"
},
"events" => [
]
"events" => []
}
end