Skip to content

Migration rules for the gutter utility #6014

@leagrdv

Description

@leagrdv

The gutter classes have changed to pixel sizes values. The goal of this ticket is to create migration rules for them.

The following classes need changed:

  • g-*
  • gx-*
  • gy-*

As well as all of their breakpoint siblings:

  • *-sm-*
  • *-md-*
  • *-lg-*
  • *-xl-*

Tasks

  • Create a migration rule in our ESLint package that automatically replaces for each of the previously mentioned classes:
    • *-1 -> *-4
    • *-2 -> *-8
    • *-3 -> *-16
    • *-4 -> *-24
    • *-5 -> *-48
  • 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

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