Sha256: ef520bc52d7361c807949b46d00aad3d49a00399de80e058001dd74de44c0715

Contents?: true

Size: 443 Bytes

Versions: 8

Compression:

Stored size: 443 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, &block)
      offenses << Offense.new(check: self, message: message, template: template, node: node, markup: markup, line_number: line_number, correction: block)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
theme-check-0.5.0 lib/theme_check/liquid_check.rb
theme-check-0.4.0 lib/theme_check/liquid_check.rb
theme-check-0.3.3 lib/theme_check/liquid_check.rb
theme-check-0.3.2 lib/theme_check/liquid_check.rb
theme-check-0.3.1 lib/theme_check/liquid_check.rb
theme-check-0.3.0 lib/theme_check/liquid_check.rb
theme-check-0.2.2 lib/theme_check/liquid_check.rb
theme-check-0.2.0 lib/theme_check/liquid_check.rb