gitlab-org--gitlab-foss/rubocop/cop
Yorick Peterse cc6619a80f
Extend cop for verifying injecting of EE modules
This extends the InjectEnterpriseEditionModule RuboCop cop so that it
verifies the following:

1. The line number the injection occurs on (as before).
2. The method used (e.g. prepend instead of prepend_if_ee).
3. The argument type passed when using the new module injection methods.
2019-07-30 14:52:54 +02:00
..
code_reuse Link to issue in CodeReuse/ActiveRecord message 2019-05-22 11:37:46 +12:00
gitlab Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
graphql Add a cop to ensure we authorize GraphQL types 2019-06-21 13:00:50 +02:00
migration Properly handle `ee` migration specs 2019-03-28 05:48:53 +08:00
qa Change element_with_pattern cop to not use quotes 2019-07-10 16:10:28 -07:00
rspec
active_record_association_reload.rb Forbid the use of `#reload` and prefer `#reset` 2019-04-15 13:05:14 +02:00
avoid_break_from_strong_memoize.rb
avoid_return_from_blocks.rb
avoid_route_redirect_leading_slash.rb
destroy_all.rb
group_public_or_visible_to_user.rb
include_action_view_context.rb Add Rubocop rule to ban include ActionView::Context 2019-04-29 06:14:53 -07:00
include_sidekiq_worker.rb
inject_enterprise_edition_module.rb Extend cop for verifying injecting of EE modules 2019-07-30 14:52:54 +02:00
line_break_around_conditional_block.rb
prefer_class_methods_over_module.rb
project_path_helper.rb
ruby_interpolation_in_translation.rb
safe_params.rb
sidekiq_options_queue.rb