Sha256: 75134040ed802915143c3c9bd917ab1b8ae5d786ffc3fc3b2ad0c252e6a6d837

Contents?: true

Size: 542 Bytes

Versions: 2

Compression:

Stored size: 542 Bytes

Contents

require 'html_scss_class_checker/class_extractor'
require 'html_scss_class_checker/file_processor'
require 'html_scss_class_checker/class_checker'

# Read configuration from JSON file
config_file = 'config.json'  # Update this path as needed
config = JSON.parse(File.read(config_file))

checker = HtmlScssClassChecker::ClassChecker.new(config)
checker.check

puts "Unmatched Classes:"
puts checker.unmatched_classes.to_a

puts "\nClasses in each file:"
checker.file_class_mapping.each do |file, classes|
  puts "#{file}: #{classes.to_a}"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
html_scss_class_checker-0.2.1 lib/html_scss_class_checker.rb
html_scss_class_checker-0.2.0 lib/html_scss_class_checker.rb