Method: RubocopHelpers#run_rubocop
- Defined in:
- lib/potassium/helpers/rubocop-helpers.rb
#run_rubocop ⇒ Object
4 5 6 7 8 |
# File 'lib/potassium/helpers/rubocop-helpers.rb', line 4 def run_rubocop , paths = RuboCop::Options.new.parse(["-A"]) runner = RuboCop::Runner.new(, RuboCop::ConfigStore.new) runner.run(paths) end |