diff --git a/lib/rubocop/cop/performance_cops.rb b/lib/rubocop/cop/performance_cops.rb index e966c56834..0d0a13d621 100644 --- a/lib/rubocop/cop/performance_cops.rb +++ b/lib/rubocop/cop/performance_cops.rb @@ -1,13 +1,5 @@ # frozen_string_literal: true -module RuboCop - # RuboCop included the performance cops directly before version 1.0.0. - # We can remove them to avoid warnings about redefining constants. - module Cop - remove_const('Performance') if const_defined?('Performance') - end -end - require_relative 'performance/caller' require_relative 'performance/case_when_splat' require_relative 'performance/casecmp'