Skip to content

Rule suggestion: No unit-less measurements #261

@gajus

Description

@gajus

We want to forbid the use of anything other than px units for spacing, font size, etc.

paddingInline: '4',

Compared to just always using px values, these theme-based values tend to lead to a lot of misunderstandings due to engineer/AI lack of familiarity with the underlying values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions