Commit 1cc6e7df authored by Peter Leitzen's avatar Peter Leitzen

Merge branch '354328-rubocop-todo-move-Performance/DeletePrefix' into 'master'

Enable Performance/DeletePrefix rule

See merge request gitlab-org/gitlab!83744
parents 1c9f21e0 0202f86f
...@@ -146,25 +146,6 @@ Performance/CollectionLiteralInLoop: ...@@ -146,25 +146,6 @@ Performance/CollectionLiteralInLoop:
Performance/ConstantRegexp: Performance/ConstantRegexp:
Enabled: false Enabled: false
# Offense count: 14
# Cop supports --auto-correct.
# Configuration parameters: SafeMultiline.
Performance/DeletePrefix:
Exclude:
- 'app/helpers/submodule_helper.rb'
- 'app/workers/concerns/application_worker.rb'
- 'ee/lib/gitlab/geo/git_ssh_proxy.rb'
- 'lib/banzai/filter/repository_link_filter.rb'
- 'lib/gitlab/auth/ldap/dn.rb'
- 'lib/gitlab/gfm/uploads_rewriter.rb'
- 'lib/gitlab/git/ref.rb'
- 'lib/gitlab/project_template.rb'
- 'lib/gitlab/setup_helper.rb'
- 'lib/gitlab/time_tracking_formatter.rb'
- 'spec/controllers/projects/artifacts_controller_spec.rb'
- 'spec/lib/gitlab/gfm/uploads_rewriter_spec.rb'
- 'spec/support/helpers/test_env.rb'
# Offense count: 121 # Offense count: 121
Performance/MethodObjectAsBlock: Performance/MethodObjectAsBlock:
Enabled: false Enabled: false
......
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