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.25.0 lib/standard/runners/rubocop.rb
standard-1.24.3 lib/standard/runners/rubocop.rb
standard-1.24.2 lib/standard/runners/rubocop.rb
standard-1.24.1 lib/standard/runners/rubocop.rb
standard-1.24.0 lib/standard/runners/rubocop.rb
standard-1.23.0 lib/standard/runners/rubocop.rb
standard-1.22.1 lib/standard/runners/rubocop.rb
standard-1.22.0 lib/standard/runners/rubocop.rb
standard-1.21.1 lib/standard/runners/rubocop.rb
standard-1.21.0 lib/standard/runners/rubocop.rb
standard-1.20.0 lib/standard/runners/rubocop.rb
standard-1.19.1 lib/standard/runners/rubocop.rb
standard-1.19.0 lib/standard/runners/rubocop.rb
standard-1.18.1 lib/standard/runners/rubocop.rb
standard-1.18.0 lib/standard/runners/rubocop.rb
standard-1.17.0 lib/standard/runners/rubocop.rb
standard-1.16.1 lib/standard/runners/rubocop.rb
standard-1.16.0 lib/standard/runners/rubocop.rb
standard-1.15.0 lib/standard/runners/rubocop.rb
standard-1.14.0 lib/standard/runners/rubocop.rb