Class: ERBLint::Linters::BreadcrumbsComponentMigrationCounter
- Inherits:
-
BaseLinter
- Object
- Linter
- BaseLinter
- ERBLint::Linters::BreadcrumbsComponentMigrationCounter
- Defined in:
- lib/yattho/view_components/linters/breadcrumbs_component_migration_counter.rb
Overview
Counts the number of times a HTML breadcrumbs is used instead of the component.
Constant Summary collapse
- MESSAGE =
"We are migrating breadcrumbs to use [Yattho::Breadcrumbs](https://yattho.com/view-components/components/beta/breadcrumbs), please try to use that instead of raw HTML."
- CLASSES =
%w[breadcrumb-item breadcrumb-item-selected].freeze
- TAGS =
%w[li].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