Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
adee3d99
Commit
adee3d99
authored
Feb 16, 2020
by
Thong Kuah
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pl-auto-require-all-cops' into 'master'
Auto-require all cops See merge request gitlab-org/gitlab!24662
parents
22e6c99f
a0457acb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
63 deletions
+4
-63
rubocop/rubocop.rb
rubocop/rubocop.rb
+4
-63
No files found.
rubocop/rubocop.rb
View file @
adee3d99
require_relative
'cop/gitlab/const_get_inherit_false'
require_relative
'cop/gitlab/module_with_instance_variables'
require_relative
'cop/gitlab/predicate_memoization'
require_relative
'cop/gitlab/httparty'
require_relative
'cop/gitlab/finder_with_find_by'
require_relative
'cop/gitlab/union'
require_relative
'cop/gitlab/rails_logger'
require_relative
'cop/gitlab/keys-first-and-values-first'
require_relative
'cop/include_sidekiq_worker'
require_relative
'cop/safe_params'
require_relative
'cop/active_record_association_reload'
require_relative
'cop/avoid_return_from_blocks'
require_relative
'cop/avoid_break_from_strong_memoize'
require_relative
'cop/avoid_route_redirect_leading_slash'
require_relative
'cop/line_break_around_conditional_block'
require_relative
'cop/prefer_class_methods_over_module'
require_relative
'cop/put_project_routes_under_scope'
require_relative
'cop/put_group_routes_under_scope'
require_relative
'cop/migration/add_column'
require_relative
'cop/migration/add_column_with_default'
require_relative
'cop/migration/add_concurrent_foreign_key'
require_relative
'cop/migration/add_concurrent_index'
require_relative
'cop/migration/add_index'
require_relative
'cop/migration/add_limit_to_string_columns'
require_relative
'cop/migration/add_reference'
require_relative
'cop/migration/add_timestamps'
require_relative
'cop/migration/datetime'
require_relative
'cop/migration/hash_index'
require_relative
'cop/migration/remove_column'
require_relative
'cop/migration/remove_concurrent_index'
require_relative
'cop/migration/remove_index'
require_relative
'cop/migration/reversible_add_column_with_default'
require_relative
'cop/migration/safer_boolean_column'
require_relative
'cop/migration/timestamps'
require_relative
'cop/migration/update_column_in_batches'
require_relative
'cop/migration/update_large_table'
require_relative
'cop/project_path_helper'
require_relative
'cop/rspec/any_instance_of'
require_relative
'cop/rspec/be_success_matcher'
require_relative
'cop/rspec/env_assignment'
require_relative
'cop/rspec/factories_in_migration_specs'
require_relative
'cop/rspec/top_level_describe_path'
require_relative
'cop/rspec/have_gitlab_http_status'
require_relative
'cop/qa/element_with_pattern'
require_relative
'cop/qa/ambiguous_page_object_name'
require_relative
'cop/sidekiq_options_queue'
require_relative
'cop/scalability/file_uploads'
require_relative
'cop/scalability/bulk_perform_with_context'
require_relative
'cop/scalability/cron_worker_context'
require_relative
'cop/destroy_all'
require_relative
'cop/ruby_interpolation_in_translation'
require_relative
'code_reuse_helpers'
require_relative
'cop/code_reuse/finder'
require_relative
'cop/code_reuse/service_class'
require_relative
'cop/code_reuse/presenter'
require_relative
'cop/code_reuse/serializer'
require_relative
'cop/code_reuse/active_record'
require_relative
'cop/code_reuse/worker'
require_relative
'cop/group_public_or_visible_to_user'
require_relative
'cop/inject_enterprise_edition_module'
require_relative
'cop/graphql/authorize_types'
require_relative
'cop/graphql/descriptions'
require_relative
'cop/ignored_columns'
# frozen_string_literal: true
# Auto-require all cops under `rubocop/cop/**/*.rb`
Dir
[
File
.
join
(
__dir__
,
'cop'
,
'**'
,
'*.rb'
)].
each
(
&
method
(
:require
))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment