lib/slim_lint/linter/rubocop.rb in slim_lint-0.31.0 vs lib/slim_lint/linter/rubocop.rb in slim_lint-0.31.1
- old
+ new
@@ -2,9 +2,10 @@
require_relative '../ruby_extractor'
require_relative '../ruby_extract_engine'
require 'rubocop'
+require 'stringio'
module SlimLint
# Runs RuboCop on Ruby code extracted from Slim templates.
class Linter::RuboCop < Linter
include LinterRegistry