Sha256: 8754b15dcd84665ce0f26b13d263c236644057455915335a2ded6fc34316b673

Contents?: true

Size: 454 Bytes

Versions: 53

Compression:

Stored size: 454 Bytes

Contents

# frozen_string_literal: true

require "erb_lint/utils/severity_levels"

module ERBLint
  module Linters
    class SeveritySchema < LinterConfig
      # SEVERITY_NAMES :info, :refactor, :convention, :warning, :error, :fatal
      # see https://github.com/Shopify/erb-lint/blob/main/lib/erb_lint/utils/severity_levels.rb

      property :severity, accepts: ERBLint::Utils::SeverityLevels::SEVERITY_NAMES, default: nil, reader: :severity
    end
  end
end

Version data entries

53 entries across 53 versions & 3 rubygems

Version Path
primer_view_components-0.0.122 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.0.121 lib/primer/view_components/linters/severity_schema.rb
yattho_view_components-0.1.1 lib/yattho/view_components/linters/severity_schema.rb
yattho_view_components-0.0.1 lib/yattho/view_components/linters/severity_schema.rb
primer_view_components-0.0.120 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.0.119 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.0.118 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.0.117 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.0.116 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.0.115 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.0.114 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.0.113 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.0.112 lib/primer/view_components/linters/severity_schema.rb