prettier / prettier/plugin-pug

Sortable class values

Open
#272 1 comment 0 reactions 1 assignee View on GitHub

@Shinigami92 is already working on this.

Since Aug 4, 2021.

type: feature request
Dominant language
TypeScript
Stars
208
Forks
49
Avg merge
4h 26m
Merged PRs (30d)
8

Description

Request / Idea

There are now frameworks like Windi CSS and it could be useful to specify an order for class values so they get sorted automatically.
The new option needs to support RegExp so the developer is able to e.g. sort some individual values like .grid-cols-\[100px\2c 1fr\2c min-content\] and group them together.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.