lib/slim_lint/linter/rubocop.rb in slim_lint-0.29.0 vs lib/slim_lint/linter/rubocop.rb in slim_lint-0.30.0
- old
+ new
@@ -1,8 +1,9 @@
# frozen_string_literal: true
-require 'slim_lint/ruby_extractor'
-require 'slim_lint/ruby_extract_engine'
+require_relative '../ruby_extractor'
+require_relative '../ruby_extract_engine'
+
require 'rubocop'
module SlimLint
# Runs RuboCop on Ruby code extracted from Slim templates.
class Linter::RuboCop < Linter