module RubocopHelpers
Public Instance Methods
run_rubocop()
click to toggle source
# File lib/potassium/helpers/rubocop-helpers.rb, line 4 def run_rubocop options, paths = RuboCop::Options.new.parse(["-A"]) runner = RuboCop::Runner.new(options, RuboCop::ConfigStore.new) runner.run(paths) end