Repository navigation
chore: remove rustywind in favor of prettier-plugin-tailwindcss - #672
Merged
Merged
Conversation
alfonsobries
marked this pull request as ready for review
July 29, 2026 15:00
This was referenced Jul 29, 2026
Member
|
@alfonsobries with arkscan we removed rustywind in favour of prettier since the prettier plugin handles the same as rustywind, but does more on top of just reordering class order. I think a lot of the projects may use both rustywind and prettier so it would be good to remove rustywind and focus solely on a single package to handle it all imo |
alfonsobries
force-pushed
the
chore/pin-and-normalize-rustywind
branch
2 times, most recently
from
August 10, 2026 16:10
a249248 to
7203774
Compare
rustywind is unmaintained and only reorders classes, while the wider Tailwind + Prettier ecosystem has moved to prettier-plugin-tailwindcss. Prettier has no native Blade parser though (confirmed upstream in tailwindlabs/prettier-plugin-tailwindcss#41), so @shufo/prettier-plugin-blade is added to give Prettier real Blade support, with sortTailwindcssClasses enabled to replace rustywind's job. Since this is a real Prettier plugin, it reformats each blade file as a whole (indentation, attribute wrapping, PHP inside directives), not just the class attribute like rustywind did. Embedded PHP ends up styled differently from the rest of the codebase's php-cs-fixer rules (e.g. spaced concatenation, no space after `!`), since php-cs-fixer already excludes *.blade.php and blade-formatter (which this plugin wraps) doesn't offer a way to opt out of PHP formatting.
Whitespace-sensitive assertions (literal HTML strings, snapshot fixtures) needed updating to match the new formatting; no behavioral changes.
alfonsobries
force-pushed
the
chore/pin-and-normalize-rustywind
branch
from
August 10, 2026 17:31
7203774 to
00f35f4
Compare
ItsANameToo
approved these changes
Aug 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
https://app.clickup.com/t/86e2j1u36
Checklist
icons.htmlfile and checked if my newly added icon is shown correctly (if necessary)