Sha256: 7de7718d04bfdcad3efb1d8bb2626887284b1dce2c0c9562b69884e82e6e14d8

Contents?: true

Size: 481 Bytes

Versions: 86

Compression:

Stored size: 481 Bytes

Contents

# frozen_string_literal: true

require 'rubocop'

require_relative 'rubocop/performance'
require_relative 'rubocop/performance/version'
require_relative 'rubocop/performance/inject'

RuboCop::Performance::Inject.defaults!

require_relative 'rubocop/cop/performance_cops'

RuboCop::Cop::Lint::UnusedMethodArgument.singleton_class.prepend(
  Module.new do
    def autocorrect_incompatible_with
      super.push(RuboCop::Cop::Performance::BlockGivenWithExplicitBlock)
    end
  end
)

Version data entries

86 entries across 86 versions & 6 rubygems

Version Path
harbr-0.1.38 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.37 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
getargv-0.3.3-universal-darwin vendor/bundle/ruby/3.3.0/gems/rubocop-performance-1.20.1/lib/rubocop-performance.rb
rubocop-performance-1.20.1 lib/rubocop-performance.rb
rubocop-performance-1.20.0 lib/rubocop-performance.rb
rubocop-performance-1.19.1 lib/rubocop-performance.rb