Sha256: a359df37c1209ebf75490ee58b279b9f7f3e76df1be97beb019fc45deb76ca6e

Contents?: true

Size: 318 Bytes

Versions: 28

Compression:

Stored size: 318 Bytes

Contents

# frozen_string_literal: true

module ThemeCheck
  class JsonCheck < Check
    extend ChecksTracking

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

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
theme-check-0.3.2 lib/theme_check/json_check.rb
theme-check-0.3.1 lib/theme_check/json_check.rb
theme-check-0.3.0 lib/theme_check/json_check.rb
theme-check-0.2.2 lib/theme_check/json_check.rb
theme-check-0.2.0 lib/theme_check/json_check.rb
theme-check-0.1.2 lib/theme_check/json_check.rb
theme-check-0.1.1 lib/theme_check/json_check.rb
theme-check-0.1.0 lib/theme_check/json_check.rb