Skip to content

Commit cf1eac2

Browse files
fix: unnecessary escape character: \/ no-useless-escape
1 parent b3a77d8 commit cf1eac2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/compress-tailwind-arbitrary.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const compressTailwindArbitrary = (value: string): string => {
1414
.replaceAll(/^_+|_+$/g, "")
1515
// 2. Remove underscores around operators: , ( ) / + *
1616
// Using a wrapper group lets us clean both sides in one go
17-
.replaceAll(/_*([,()\/+*])_*/g, "$1")
17+
.replaceAll(/_*([,()/+*])_*/g, "$1")
1818
// 3. Collapse any remaining multiple underscores into a single underscore
1919
.replaceAll(/_{2,}/g, "_")
2020
);

0 commit comments

Comments
 (0)