Skip to content

Variant groupingΒ #122

@reindexnow

Description

@reindexnow

It would be very helpful if this plugin could replicate the group option from better-tailwindcss/enforce-consistent-line-wrapping.

// { printWidth: 40 }
<div class={`
  text-black underline focus:font-bold
  focus:text-opacity-70 hover:font-bold
  hover:text-opacity-70
`} />

// { printWidth: 40, group: "newLine" }
<div class={`
  text-black underline
  focus:font-bold focus:text-opacity-70
  hover:font-bold hover:text-opacity-70
`} />

// { printWidth: 40, group: "emptyLine" }
<div class={`
  text-black underline

  focus:font-bold focus:text-opacity-70

  hover:font-bold hover:text-opacity-70
`} />

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions