Class: ERBLint::Linters::BlankslateComponentMigrationCounter
- Inherits:
-
BaseLinter
- Object
- Linter
- BaseLinter
- ERBLint::Linters::BlankslateComponentMigrationCounter
- Defined in:
- lib/yattho/view_components/linters/blankslate_component_migration_counter.rb
Overview
Counts the number of times a HTML Blankslate is used instead of the component.
Constant Summary collapse
- MESSAGE =
"We are migrating Blankslate to use [Yattho::Beta::Blankslate](https://yattho.com/view-components/components/beta/blankslate), please try to use that instead of raw HTML."
- CLASSES =
%w[blankslate].freeze
- TAGS =
%w[div].freeze
Constants inherited from BaseLinter
ERBLint::Linters::BaseLinter::DISALLOWED_CLASSES, ERBLint::Linters::BaseLinter::DUMP_FILE, ERBLint::Linters::BaseLinter::REQUIRED_ARGUMENTS
Constants included from TagTreeHelpers
TagTreeHelpers::SELF_CLOSING_TAGS