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.19.0 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.22.2 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.18.2 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.22.1 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.18.1 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.22.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.18.0 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.21.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.17.0 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.20.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.16.1 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.16.0 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.19.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.15.1 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.15.0 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.18.1 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.17.1 lib/primer/view_components/linters/severity_schema.rb
openproject-primer_view_components-0.17.0 lib/primer/view_components/linters/severity_schema.rb
primer_view_components-0.14.0 lib/primer/view_components/linters/severity_schema.rb