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.30.0 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.39.1 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.39.0 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.38.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.29.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.28.0 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.37.1 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.37.0 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.36.2 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.36.1 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.36.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.27.0 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.35.2 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.35.1 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.26.1 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.35.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.26.0 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.34.0 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.33.2 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.33.1 lib/primer/view_components/linters/severity_schema.rb