Skip to content

Create migration rule for bootstrap position helpers #5973

@alizedebray

Description

@alizedebray

We will soon introduce named z-index position classes.

As a result, Bootstrap's position helpers will no longer be necessary and can be replaced by a combination of other utility classes.

Goal

  • Create a migration rule in our ESLint package that automatically replaces:
    • fixed-[top/bottom] with position-fixed [top/bottom]-0 start-0 end-0 z-fixed
    • sticky-[top/bottom] with position-sticky [top/bottom]-0 z-header
  • Document the migration rule in the ESLint package
  • Add tests for the rule
  • Add information that we have an auto-migration in the migration guide
  • Replace the classes in our own codebase

Metadata

Metadata

Assignees

Labels

📦 eslintConcerning the eslint package

Projects

Status

🧐 In Review

Relationships

None yet

Development

No branches or pull requests

Issue actions