Sha256: 3972075b21d99ae51f5307031c3089ae2e9a191bc1823c32ac78dacc2495078f

Contents?: true

Size: 381 Bytes

Versions: 55

Compression:

Stored size: 381 Bytes

Contents

require "rubocop"

module Standard
  module Runners
    class Rubocop
      def call(config)
        rubocop_runner = RuboCop::CLI::Command::ExecuteRunner.new(
          RuboCop::CLI::Environment.new(
            config.rubocop_options,
            config.rubocop_config_store,
            config.paths
          )
        )

        rubocop_runner.run
      end
    end
  end
end

Version data entries

55 entries across 55 versions & 3 rubygems

Version Path
standard-1.13.0 lib/standard/runners/rubocop.rb
standard-1.12.1 lib/standard/runners/rubocop.rb
standard-1.12.0 lib/standard/runners/rubocop.rb
standard-1.11.0 lib/standard/runners/rubocop.rb
standard-1.10.0 lib/standard/runners/rubocop.rb
standard-1.9.1 lib/standard/runners/rubocop.rb
standard-1.9.0 lib/standard/runners/rubocop.rb
op_connect-0.1.2 vendor/bundle/ruby/3.1.0/gems/standard-1.8.0/lib/standard/runners/rubocop.rb
standard-1.8.0 lib/standard/runners/rubocop.rb
standard-1.7.3 lib/standard/runners/rubocop.rb
standard-1.7.2 lib/standard/runners/rubocop.rb
standard-1.7.1 lib/standard/runners/rubocop.rb
standard-1.7.0 lib/standard/runners/rubocop.rb
standard-1.6.0 lib/standard/runners/rubocop.rb
standard-1.5.0 lib/standard/runners/rubocop.rb
standard-1.4.0 lib/standard/runners/rubocop.rb
standard-mkv-1.3.4 lib/standard/runners/rubocop.rb
standard-mkv-1.3.3 lib/standard/runners/rubocop.rb
standard-mkv-1.3.2 lib/standard/runners/rubocop.rb
standard-mkv-1.3.1 lib/standard/runners/rubocop.rb