# frozen_string_literal: true require "refinements/strings" module Git module Lint module Analyzers # An abstract class which provides basic functionality from which all analyzers inherit from. class Abstract using ::Refinements::Strings LEVELS = %i[warn error].freeze ISSUE_LINE_OFFSET = 2 def self.inherited klass @descendants ||= [] @descendants << klass unless klass.to_s.start_with? "#