Add Rubocop rule for the Gitlab::HTTP_V2 usage
In the GitLab monolith codebase, we should use the `Gitlab::HTTP` wrapper instead of `Gitlab::HTTP_V2` because we need to pass options that are related to the GitLab instance setting.
显示
- keeps/delete_old_feature_flags.rb 1 个添加, 1 个删除keeps/delete_old_feature_flags.rb
- keeps/helpers/groups.rb 1 个添加, 1 个删除keeps/helpers/groups.rb
- keeps/helpers/reviewer_roulette.rb 1 个添加, 1 个删除keeps/helpers/reviewer_roulette.rb
- keeps/quarantine_flaky_tests.rb 1 个添加, 1 个删除keeps/quarantine_flaky_tests.rb
- lib/gitlab/http.rb 0 个添加, 6 个删除lib/gitlab/http.rb
- rubocop/cop/gitlab/http_v2.rb 42 个添加, 0 个删除rubocop/cop/gitlab/http_v2.rb
- spec/rubocop/cop/gitlab/http_v2_spec.rb 40 个添加, 0 个删除spec/rubocop/cop/gitlab/http_v2_spec.rb
加载中
想要评论请 注册 或 登录