Skip to content

Conversation

@canerakdas
Copy link
Member

Description

It seems that the sorting algorithm has been updated in version 0.7.1 of prettier-plugin-tailwindcss.
With this PR, aim to prevent unnecessary style changes in future PRs by aligning with the updated version

Validation

Prettier should works successfully for changed files

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run pnpm format to ensure the code follows the style guide.
  • I have run pnpm test to check if all tests are passing.
  • I have run pnpm build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

@canerakdas canerakdas requested a review from a team as a code owner November 8, 2025 22:28
Copilot AI review requested due to automatic review settings November 8, 2025 22:28
@vercel
Copy link

vercel bot commented Nov 8, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
nodejs-org Ready Ready Preview Nov 8, 2025 10:29pm

@codecov
Copy link

codecov bot commented Nov 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.76%. Comparing base (ca6a3dd) to head (a5862c4).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8344   +/-   ##
=======================================
  Coverage   76.76%   76.76%           
=======================================
  Files         118      118           
  Lines        9822     9822           
  Branches      335      335           
=======================================
  Hits         7540     7540           
  Misses       2280     2280           
  Partials        2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR reorganizes Tailwind CSS utility classes across multiple files to follow a consistent ordering convention. The reordering improves code maintainability and follows standard CSS property grouping patterns (positioning, display, spacing, sizing, typography, etc.).

  • Reorders CSS utility classes within @apply directives to follow a logical grouping pattern
  • Moves positioning properties (absolute, top, left, right, bottom) before other properties
  • Groups related properties together (e.g., borders, spacing, typography)
  • Ensures consistent ordering across all component styles

Reviewed Changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/ui-components/src/styles/markdown.css Reorders utilities in list, table, and responsive table styles
packages/ui-components/src/Providers/NotificationProvider/index.module.css Reorders positioning utilities in viewport
packages/ui-components/src/Containers/Sidebar/SidebarGroup/index.module.css Reorders pseudo-element positioning utilities
packages/ui-components/src/Containers/Article/index.module.css Reorders spacing and border utilities
packages/ui-components/src/Common/Tabs/index.module.css Reorders typography and border utilities
packages/ui-components/src/Common/Skeleton/index.module.css Reorders animation and interaction utilities
packages/ui-components/src/Common/Preview/index.module.css Reorders container queries and base utilities
packages/ui-components/src/Common/Modal/index.module.css Reorders positioning and focus utilities
packages/ui-components/src/Common/LanguageDropDown/index.module.css Reorders interaction utilities
packages/ui-components/src/Common/GlowingBackdrop/index.module.css Reorders positioning utilities
packages/ui-components/src/Common/ChangeHistory/index.module.css Reorders interaction and positioning utilities
packages/ui-components/src/Common/BasePagination/PaginationListItem/index.module.css Reorders state-based utilities
packages/ui-components/src/Common/BaseCodeBox/index.module.css Reorders pseudo-element utilities
packages/ui-components/src/Common/BaseButton/index.module.css Reorders button variant utilities
packages/ui-components/src/Common/BadgeGroup/index.module.css Reorders spacing utilities
packages/ui-components/src/Common/Badge/index.module.css Reorders typography utilities
apps/site/styles/locales.css Reorders text utilities
apps/site/components/Downloads/Release/ReleaseCodeBox.tsx Reorders spacing utilities in className
apps/site/components/Common/Turtle/index.module.css Reorders pseudo-element utilities
apps/site/components/Blog/BlogPostCard/index.module.css Reorders spacing utilities

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@avivkeller avivkeller added this pull request to the merge queue Nov 11, 2025
Merged via the queue into nodejs:main with commit 2578e00 Nov 11, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants