Skip to content

fix(eslint-plugin): sort unoVariables class strings wrapped in satisfies - #5316

Merged
zyyv merged 1 commit into
unocss:mainfrom
praburangki:fix/eslint-order-satisfies-uno-variables
Sep 7, 2026
Merged

zyyv merged 1 commit into
unocss:mainfrom
praburangki:fix/eslint-order-satisfies-uno-variables

Conversation

@praburangki

Copy link
Copy Markdown
Contributor

The order rule already walked object values on matching identifiers, but skipped the initializer when it was a TSSatisfiesExpression, so theme-style const clsX = { base: '...' } satisfies T never got reordered.

Resolves #5315

The order rule already walked object values on matching identifiers, but
skipped the initializer when it was a TSSatisfiesExpression, so theme-style
`const clsX = { base: '...' } satisfies T` never got reordered.

Co-authored-by: Cursor <cursoragent@cursor.com>
@netlify

netlify Bot commented Sep 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for unocss ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 6286387
🔍 Latest deploy log https://app.netlify.com/projects/unocss/deploys/6a9deee3657c9e00087775a3
😎 Deploy Preview https://deploy-preview-5316--unocss.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@pkg-pr-new

pkg-pr-new Bot commented Sep 6, 2026

Copy link
Copy Markdown

Open in StackBlitz

commit: 6286387

@zyyv
zyyv added this pull request to the merge queue Sep 7, 2026
Merged via the queue into unocss:main with commit e74667e Sep 7, 2026
11 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.

@unocss/order does not sort unoVariables class strings wrapped in satisfies

2 participants

Sponsor
SponsoredKunjungi sekarang
Promo