Skip to content

Migration rules for font curves #6045

@leagrdv

Description

@leagrdv

The goal of this ticket is to create migration rules for the changing of font curves.

Tasks

  • Create a migration rule in our ESLint package that automatically replaces:
    • font-curve-tiny -> fs-9
    • font-curve-small -> fs-7
    • font-curve-regular -> fs-6
    • font-curve-bigger-regular -> fs-5
    • font-curve-medium -> fs-4
    • font-curve-large -> fs-3
    • font-curve-big -> fs-1
  • Document the migration rule in the ESLint package
  • Add tests for the rule
  • Add an entry in the migration guide (currently, there is only an entry for the font sizes, not the curves) with the auto-migration tag
  • Replace the class in our own codebase

Metadata

Metadata

Assignees

Labels

📦 eslintConcerning the eslint package

Type

No type

Projects

Status

🧐 In Review

Relationships

None yet

Development

No branches or pull requests

Issue actions