Sha256: 43e093e2f5eb3e738240b3847291fc1b3044f3e7b0050bab2432a9233391d7c2

Contents?: true

Size: 416 Bytes

Versions: 3

Compression:

Stored size: 416 Bytes

Contents

# frozen_string_literal: true
require_relative "parsing_helpers"

module ThemeCheck
  class LiquidCheck < Check
    extend ChecksTracking
    include ParsingHelpers

    def add_offense(message, node: nil, template: node&.template, markup: nil, line_number: nil)
      offenses << Offense.new(check: self, message: message, template: template, node: node, markup: markup, line_number: line_number)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
theme-check-0.1.2 lib/theme_check/liquid_check.rb
theme-check-0.1.1 lib/theme_check/liquid_check.rb
theme-check-0.1.0 lib/theme_check/liquid_check.rb