Skip to content

Migration rules for visually hidden and clearfix helper classes #6028

@leagrdv

Description

@leagrdv

The .h-visuallyhidden and .h-clearfix classes have been renamed. The goal of this ticket is to create migration rules for them.

Tasks

  • Create a migration rule in our ESLint package that automatically replaces:
    • h-visuallyhidden -> visually-hidden
    • h-clearfix -> clearfix
  • Document the migration rule in the ESLint package
  • Add tests for the rule
  • Add information to the existing entry that we have an auto-migration in the migration guide
  • Replace the classes in our own codebase

Metadata

Metadata

Labels

Type

No type

Projects

Status

🚀 Done

Relationships

None yet

Development

No branches or pull requests

Issue actions