summaryrefslogtreecommitdiff
path: root/.rubocop_todo/style
diff options
context:
space:
mode:
Diffstat (limited to '.rubocop_todo/style')
-rw-r--r--.rubocop_todo/style/array_coercion.yml10
-rw-r--r--.rubocop_todo/style/combinable_loops.yml10
-rw-r--r--.rubocop_todo/style/open_struct_use.yml8
3 files changed, 20 insertions, 8 deletions
diff --git a/.rubocop_todo/style/array_coercion.yml b/.rubocop_todo/style/array_coercion.yml
new file mode 100644
index 00000000000..a49fc42967d
--- /dev/null
+++ b/.rubocop_todo/style/array_coercion.yml
@@ -0,0 +1,10 @@
+---
+# Cop supports --auto-correct.
+Style/ArrayCoercion:
+ Exclude:
+ - 'app/controllers/admin/ci/variables_controller.rb'
+ - 'app/controllers/groups/variables_controller.rb'
+ - 'app/controllers/projects/variables_controller.rb'
+ - 'ee/app/services/geo/repository_verification_secondary_service.rb'
+ - 'ee/lib/ee/banzai/pipeline/gfm_pipeline.rb'
+ - 'spec/support/helpers/lfs_http_helpers.rb'
diff --git a/.rubocop_todo/style/combinable_loops.yml b/.rubocop_todo/style/combinable_loops.yml
new file mode 100644
index 00000000000..c8b8cbb979d
--- /dev/null
+++ b/.rubocop_todo/style/combinable_loops.yml
@@ -0,0 +1,10 @@
+---
+Style/CombinableLoops:
+ Exclude:
+ - 'ee/db/fixtures/development/30_customizable_cycle_analytics.rb'
+ - 'ee/lib/gitlab/audit/events/preloader.rb'
+ - 'ee/spec/finders/snippets_finder_spec.rb'
+ - 'spec/features/merge_request/user_suggests_changes_on_diff_spec.rb'
+ - 'spec/finders/packages/group_packages_finder_spec.rb'
+ - 'spec/requests/api/members_spec.rb'
+ - 'spec/support/shared_examples/features/protected_branches_access_control_ce_shared_examples.rb'
diff --git a/.rubocop_todo/style/open_struct_use.yml b/.rubocop_todo/style/open_struct_use.yml
index c459ea9d49c..e6af3b7bf24 100644
--- a/.rubocop_todo/style/open_struct_use.yml
+++ b/.rubocop_todo/style/open_struct_use.yml
@@ -1,18 +1,12 @@
---
Style/OpenStructUse:
Exclude:
- - app/helpers/application_settings_helper.rb
- ee/spec/features/projects/new_project_spec.rb
- ee/spec/finders/template_finder_spec.rb
- ee/spec/helpers/ee/blob_helper_spec.rb
- ee/spec/lib/gitlab/auth/group_saml/failure_handler_spec.rb
- ee/spec/lib/gitlab/legacy_github_import/project_creator_spec.rb
- - lib/api/wikis.rb
- - lib/gitlab/git/diff_collection.rb
- - lib/gitlab/import_export/after_export_strategies/base_after_export_strategy.rb
- lib/gitlab/testing/request_inspector_middleware.rb
- - lib/mattermost/session.rb
- - spec/factories/go_module_versions.rb
- spec/factories/wiki_pages.rb
- spec/graphql/mutations/branches/create_spec.rb
- spec/graphql/mutations/clusters/agent_tokens/create_spec.rb
@@ -23,7 +17,5 @@ Style/OpenStructUse:
- spec/helpers/profiles_helper_spec.rb
- spec/lib/gitlab/gitaly_client/blobs_stitcher_spec.rb
- spec/lib/gitlab/gitaly_client/diff_stitcher_spec.rb
- - spec/lib/gitlab/legacy_github_import/project_creator_spec.rb
- - spec/lib/gitlab/quick_actions/command_definition_spec.rb
- spec/services/system_note_service_spec.rb
- spec/support/helpers/repo_helpers.rb