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
openproject-primer_view_components-0.7.0 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.6.3 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.6.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.5.1 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.5.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.4.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.3.1 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.3.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.2.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.1.9 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.1.8 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.1.7 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.1.6 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.1.5 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.1.4 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.1.3 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.1.2 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.1.1 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.1.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.0.123 lib/primer/view_components/linters/severity_schema.rb