You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: disallow_component_css_counter.rb
    path of file: ./repos/view_components/lib/primer/view_components/linters
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require_relative "base_linter"

# Load all the other linters so we can filter out their restricted
# CLASSESâ€”they will be responsible for complaining about the use of
# those HTML classes.
Dir[File.join(__dir__, "*.rb")].sort.each do |file|
  require file unless file == __FILE__
end

module ERBLint
  module Linters
    # Counts the number of times a class reserved for ViewCompo
    
      def run(processed_source)
        @total_offenses = 0
        @offenses_not_corrected = 0

        processed_source
          .parser
          .nodes_with_type(:tag)
          .each do |node|
            tag = BetterHtml::Tree::Tag.from_node(node)

            tag.attributes["class"]&.value&.split(/\s+/)&.each do |class_name|
              if CLASSES.key? class_name
                @total_offenses += 1
                @offenses_not_corrected += 1
                add_offense(
                  processed_source.to_source_range(tag.loc),
                  format_message(class_name)
                )
              end
            end
          end