Sha256: 8da7ea4a8e587a9985910b4af9ef2045e157779349fd491875eec98c94c3a227
Contents?: true
Size: 511 Bytes
Versions: 1
Compression:
Stored size: 511 Bytes
Contents
# frozen_string_literal: true require_relative "base_linter" module ERBLint module Linters # Counts the number of times a HTML Blankslate is used instead of the component. class BlankslateComponentMigrationCounter < BaseLinter MESSAGE = "We are migrating Blankslate to use [Primer::BlankslateComponent](https://primer.style/view-components/components/blankslate), please try to use that instead of raw HTML." CLASSES = %w[blankslate].freeze TAGS = %w[div].freeze end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
primer_view_components-0.0.60 | lib/primer/view_components/linters/blankslate_component_migration_counter.rb |