gitlab-org--gitlab-foss/spec/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 Added RuboCop cops to enforce code reuse rules 2018-09-11 15:00:18 +02:00
gitlab Added FromUnion to easily select from a UNION 2018-09-17 12:39:43 +02:00
migration Fix ActiveRecord::Migration deprecations 2018-12-12 16:38:40 +01:00
qa Add a new QA::ElementWithPattern cop 2018-10-15 14:28:03 +02:00
rspec
avoid_break_from_strong_memoize_spec.rb
avoid_return_from_blocks_spec.rb
avoid_route_redirect_leading_slash_spec.rb Fix leading slash in redirects and add cop 2018-09-21 14:10:20 +00:00
destroy_all_spec.rb Whitelist existing destroy_all offenses 2018-08-16 17:29:37 +02:00
group_public_or_visible_to_user_spec.rb Applies the CE backport of EE#657 2018-09-24 12:02:01 +01:00
include_sidekiq_worker_spec.rb
inject_enterprise_edition_module_spec.rb Fix detecting nested EE constants in RuboCop 2019-01-16 16:48:18 +01:00
line_break_around_conditional_block_spec.rb Fix LineBreakAroundConditionalBlock cop for a conditional after rescue 2018-09-05 09:34:11 -07:00
prefer_class_methods_over_module_spec.rb Minor renames for clarity 2018-08-29 16:56:34 +02:00
project_path_helper_spec.rb
ruby_interpolation_in_translation_spec.rb Reject ruby interpolation in externalized strings 2018-08-25 18:43:21 +02:00
safe_params_spec.rb Add cop prohibiting params argument in url_for 2018-11-22 10:08:18 +01:00
sidekiq_options_queue_spec.rb