You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Blog: Automatic Class Sorting with Prettier - Fix examples (#2019)
**Blog page:**
[Automatic Class Sorting with
Prettier](https://tailwindcss.com/blog/automatic-class-sorting-with-prettier)
**Problem:**
The "before" and "after" code snippets in the blog post are identical.
It seems the Prettier plugin unintentionally formatted the "before"
snippet as well. 😉
Issue: #2020
**Fixes:**
- Updated the "before" code snippets to reflect the intended unformatted
state.
---------
Co-authored-by: Philipp Spiess <[email protected]>
Copy file name to clipboardExpand all lines: src/blog/automatic-class-sorting-with-prettier/index.mdx
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,10 @@ People have been talking about the best way to sort your utility classes in Tail
30
30
31
31
This plugin scans your templates for class attributes containing Tailwind CSS classes, and then sorts those classes automatically following our [recommended class order](#how-classes-are-sorted).
0 commit comments