gitlab-org--gitlab-foss/rubocop/cop
Yorick Peterse 9722158c15
Fix detecting nested EE constants in RuboCop
The InjectEnterpriseEditionModule cop would not detect certain nested EE
constants such as `EE::Foo::Bar::Baz`. This could result in it not
enforcing `prepend` being placed on the last line. This commit fixes
this by just performing a string match on the line, instead of relying
on AST matching.
2019-01-16 16:48:18 +01:00
..
code_reuse Whitelist none method from ActiveRecord::Querying 2018-10-31 15:46:36 -03:00
gitlab Added FromUnion to easily select from a UNION 2018-09-17 12:39:43 +02:00
migration Make add_reference cop accept a hash for :index 2018-11-27 11:40:38 +01:00
qa Add a new QA::ElementWithPattern cop 2018-10-15 14:28:03 +02:00
rspec
avoid_break_from_strong_memoize.rb
avoid_return_from_blocks.rb
avoid_route_redirect_leading_slash.rb Fix leading slash in redirects and add cop 2018-09-21 14:10:20 +00:00
destroy_all.rb Blacklist the use of "destroy_all" 2018-08-16 17:29:33 +02:00
group_public_or_visible_to_user.rb Applies the CE backport of EE#657 2018-09-24 12:02:01 +01:00
include_sidekiq_worker.rb
inject_enterprise_edition_module.rb Fix detecting nested EE constants in RuboCop 2019-01-16 16:48:18 +01:00
line_break_around_conditional_block.rb Fix LineBreakAroundConditionalBlock cop for a conditional after rescue 2018-09-05 09:34:11 -07:00
prefer_class_methods_over_module.rb Minor renames for clarity 2018-08-29 16:56:34 +02:00
project_path_helper.rb
ruby_interpolation_in_translation.rb Remove unused constant 2018-09-19 15:01:27 +02:00
safe_params.rb Add cop prohibiting params argument in url_for 2018-11-22 10:08:18 +01:00
sidekiq_options_queue.rb