gitlab-org--gitlab-foss/rubocop/cop
Sean McGivern ab0a6455c7 Add RSpec/TopLevelDescribePath cop
The RSpec/FilePath cop checks that a spec file's path is correct, but
only if the file describes a constant. We want to check, for any file
with a top-level `describe`, whether the file path ends in
`_spec.rb`. We don't care what comes before that; just that it will be
executed by RSpec at all.
2019-08-01 11:07:26 +01: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 Add RSpec/TopLevelDescribePath cop 2019-08-01 11:07:26 +01:00
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 Resolve "Make a Rubocop that forbids returning from a block" 2018-04-18 09:19:40 +00:00
avoid_return_from_blocks.rb Resolve "Make a Rubocop that forbids returning from a block" 2018-04-18 09:19:40 +00:00
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_action_view_context.rb Add Rubocop rule to ban include ActionView::Context 2019-04-29 06:14:53 -07:00
include_sidekiq_worker.rb Use gitlab-styles 2017-12-22 08:34:44 -06:00
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 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 Use gitlab-styles 2017-12-22 08:34:44 -06:00
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 Use gitlab-styles 2017-12-22 08:34:44 -06:00