Sha256: 7de7718d04bfdcad3efb1d8bb2626887284b1dce2c0c9562b69884e82e6e14d8

Contents?: true

Size: 481 Bytes

Versions: 85

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

85 entries across 85 versions & 5 rubygems

Version Path
harbr-0.1.79 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.78 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.77 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.76 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.75 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.74 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.73 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.72 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.71 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.70 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.69 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.68 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.67 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.66 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.65 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.64 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.63 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.62 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.61 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb
harbr-0.1.60 vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.19.1/lib/rubocop-performance.rb