Skip to content

[BUG] enforces-shorthand does not work for h- & w- when prefixed #378

@Kamahl19

Description

@Kamahl19

Describe the bug
When using a prefix such as ui-, the enforces-shorthand rule does not catch this class name ui-h-1 ui-w-1.

To Reproduce

  1. Set tailwind prefix
  2. Use prefixed w- and h- classes with the same value
  3. No rule triggered

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions