Sha256: 86419944bdfe00da0b83f7bee9f2950806b1f6e206a990c5a412e88341890ed2

Contents?: true

Size: 345 Bytes

Versions: 7

Compression:

Stored size: 345 Bytes

Contents

# frozen_string_literal: true

module ThemeCheck
  class JsonCheck < Check
    extend ChecksTracking

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
theme-check-1.6.1 lib/theme_check/json_check.rb
theme-check-1.6.0 lib/theme_check/json_check.rb
theme-check-1.5.2 lib/theme_check/json_check.rb
theme-check-1.5.1 lib/theme_check/json_check.rb
theme-check-1.5.0 lib/theme_check/json_check.rb
theme-check-1.4.0 lib/theme_check/json_check.rb
theme-check-1.3.0 lib/theme_check/json_check.rb