summaryrefslogtreecommitdiff
path: root/rubocop/rubocop.rb
diff options
context:
space:
mode:
authorJacopo <beschi.jacopo@gmail.com>2018-08-25 00:08:34 +0200
committerJacopo <beschi.jacopo@gmail.com>2018-08-29 16:56:34 +0200
commit2f0327b7d8ac46fcb30d957d54fab32b27f8625f (patch)
tree206bcb41c8a437a2245a14fa2ca1c5f3d17323d8 /rubocop/rubocop.rb
parentdad73a77843cb89e8e6d0069fe9a1956e6b304d6 (diff)
downloadgitlab-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.rb1
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'