twbs / twbs/bootstrap

Create a Bootstrap class ordering prettier

Open
#38,397 1 comment 14 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature help wanted
Dominant language
MDX
Stars
175k
Forks
78.6k
Avg merge
7h 19m
Merged PRs (30d)
35

Description

Prerequisites
Proposal

Is there any possibility of having something like this build for bootstrap https://github.com/tailwindlabs/prettier-plugin-tailwindcss

Motivation and context

Tailwind is a growing competitor to Bootstrap so I think it makes sense to try to at least match them as much as possible with regard to new features, this class sorting prettier is a very nice added bonus on their side, it would be great if the same logic could be applied to boostrap

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.

Research direction

Start by reviewing the referenced prettier-plugin-tailwindcss and Bootstrap's class conventions. Determine how Bootstrap class ordering should be specified and how a Prettier integration would fit the project; done means a usable ordering tool with documented behavior and validation against representative Bootstrap classes.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript, tailwindcss
Domain
developer-experience, frontend, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.