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.2.1 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.2.0 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.99 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.98 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.97 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.96 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.95 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.94 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.93 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.91 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.90 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.89 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.88 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.87 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.86 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.85 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.84 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.83 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.82 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.81 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb