Sha256: 33c2df91389d5f3b48fe1b95d0cd0277ca1480ed4e80a32121a8e9af4bd38b96

Contents?: true

Size: 468 Bytes

Versions: 99

Compression:

Stored size: 468 Bytes

Contents

# frozen_string_literal: true

require "erb_lint/utils/severity_levels"

module ERBLint
  module Linters
    # :nodoc:
    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

99 entries across 99 versions & 2 rubygems

Version Path
primer_view_components-0.36.5 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.52.2 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.36.4 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.52.1 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.52.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.36.3 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.51.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.36.2 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.50.1 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.50.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.36.1 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.36.0 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.49.2 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.35.2 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.49.1 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.49.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.35.1 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.35.0 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.48.2 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.48.1 lib/primer/view_components/linters/severity_schema.rb