Class: Standard::Runners::Rubocop
- Inherits:
-
Object
- Object
- Standard::Runners::Rubocop
- Defined in:
- lib/standard/runners/rubocop.rb
Instance Method Summary collapse
Instance Method Details
#call(config) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/standard/runners/rubocop.rb', line 6 def call(config) rubocop_runner = RuboCop::CLI::Command::ExecuteRunner.new( RuboCop::CLI::Environment.new( without_parallelizing_in_stdin_mode(config.), config.rubocop_config_store, config.paths ) ) rubocop_runner.run end |