diff options
author | Jacopo <beschi.jacopo@gmail.com> | 2018-08-25 00:08:34 +0200 |
---|---|---|
committer | Jacopo <beschi.jacopo@gmail.com> | 2018-08-29 16:56:34 +0200 |
commit | 2f0327b7d8ac46fcb30d957d54fab32b27f8625f (patch) | |
tree | 206bcb41c8a437a2245a14fa2ca1c5f3d17323d8 /rubocop/rubocop.rb | |
parent | dad73a77843cb89e8e6d0069fe9a1956e6b304d6 (diff) | |
download | gitlab-ce-2f0327b7d8ac46fcb30d957d54fab32b27f8625f.tar.gz |
Adds Rubocop rule to enforce class_methods over module ClassMethods
Diffstat (limited to 'rubocop/rubocop.rb')
-rw-r--r-- | rubocop/rubocop.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rubocop/rubocop.rb b/rubocop/rubocop.rb index eaf421a7235..d823fa4edb1 100644 --- a/rubocop/rubocop.rb +++ b/rubocop/rubocop.rb @@ -7,6 +7,7 @@ require_relative 'cop/include_sidekiq_worker' require_relative 'cop/avoid_return_from_blocks' require_relative 'cop/avoid_break_from_strong_memoize' require_relative 'cop/line_break_around_conditional_block' +require_relative 'cop/prefer_class_methods_over_module' require_relative 'cop/migration/add_column' require_relative 'cop/migration/add_concurrent_foreign_key' require_relative 'cop/migration/add_concurrent_index' |