Skip to content

Commit 74ee3b4

Browse files
authored
update changeset
The rule now detects and sorts negative value utilities like '-ml-2', '-mr-4', and allows custom utilities with a leading '-' prefix to be matched.
1 parent 1d6d8b8 commit 74ee3b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.changeset/negative-margin-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"@biomejs/biome": patch
33
---
44

5-
Added support for negative value utilities in [`useSortedClasses`](https://biomejs.dev/linter/rules/use-sorted-classes/). The rule now correctly detects and sorts negative value utilities like `-ml-2`, `-mr-4`, `-top-2`, etc. This also allows custom utilities defined with a leading `-` prefix to be matched when the target is specified with a `-` prefix (e.g., `-test$` matches `-test`).
5+
feat(useSortedClasses): support negative value utilities

0 commit comments

Comments
 (0)