diff options
author | Semyon Pupkov <mail@semyonpupkov.com> | 2018-09-20 19:49:26 +0300 |
---|---|---|
committer | Semyon Pupkov <mail@semyonpupkov.com> | 2018-09-20 19:49:26 +0300 |
commit | 6c0907894f920c7681cff671542c69b914d4d03b (patch) | |
tree | f5fff153bc7d4afc7a8d82701954d173a7b78244 | |
parent | 6c31b607de3528f78f340a2bc5bfdb163378981c (diff) |
Fix SpaceInsideArrayLiteralBrackets cop
-rw-r--r-- | .rubocop_todo.yml | 9 | ||||
-rw-r--r-- | spec/lib/gitlab/import_export/relation_factory_spec.rb | 4 |
2 files changed, 1 insertions, 12 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index c7b82af08df..7288dad3483 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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. diff --git a/spec/lib/gitlab/import_export/relation_factory_spec.rb b/spec/lib/gitlab/import_export/relation_factory_spec.rb index cf9e0f71910..a31f77484d8 100644 --- a/spec/lib/gitlab/import_export/relation_factory_spec.rb +++ b/spec/lib/gitlab/import_export/relation_factory_spec.rb @@ -191,9 +191,7 @@ describe Gitlab::ImportExport::RelationFactory do "author" => { "name" => "Administrator" }, - "events" => [ - - ] + "events" => [] } end |