Skip to content

Commit c2aab49

Browse files
authored
Bump Prettier (#18960)
This PR bumps prettier and solves one of our `- *` formatting issues. Not all, but a few!
1 parent 5a94f81 commit c2aab49

File tree

4 files changed

+17
-32
lines changed

4 files changed

+17
-32
lines changed

packages/tailwindcss/src/intellisense.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ test('Custom functional @utility', async () => {
496496
497497
@utility example-* {
498498
font-size: --value(--text);
499-
line-height: --value(--text- * --line-height);
499+
line-height: --value(--text-* --line-height);
500500
line-height: --modifier(--leading, 'normal');
501501
}
502502
@@ -513,7 +513,7 @@ test('Custom functional @utility', async () => {
513513
}
514514
515515
@utility -negative-* {
516-
margin: --value(--tab-size- *);
516+
margin: --value(--tab-size-*);
517517
}
518518
`
519519

@@ -585,7 +585,7 @@ test('Custom utilities sharing a root with built-in utilities should merge sugge
585585
}
586586
587587
@utility font-* {
588-
--my-font-weight: --value(--font-weight- *);
588+
--my-font-weight: --value(--font-weight-*);
589589
}
590590
`
591591

@@ -624,7 +624,7 @@ test('Theme keys with underscores are suggested with underscores', async () => {
624624
}
625625
626626
@utility ex-* {
627-
width: --value(--spacing- *);
627+
width: --value(--spacing-*);
628628
}
629629
`
630630

packages/tailwindcss/src/utilities.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27897,7 +27897,7 @@ describe('custom utilities', () => {
2789727897
test('resolving any arbitrary values', async () => {
2789827898
let input = css`
2789927899
@utility tab-* {
27900-
tab-size: --value([ *]);
27900+
tab-size: --value([*]);
2790127901
}
2790227902

2790327903
@tailwind utilities;
@@ -28355,7 +28355,7 @@ describe('custom utilities', () => {
2835528355

2835628356
@utility example-* {
2835728357
font-size: --value(--text);
28358-
line-height: --value(--text- * --line-height);
28358+
line-height: --value(--text-* --line-height);
2835928359
line-height: --modifier(number);
2836028360
}
2836128361

pnpm-lock.yaml

Lines changed: 10 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages:
77

88
catalog:
99
'@types/node': ^20.19.0
10-
prettier: 3.5.0
10+
prettier: 3.6.2
1111
vite: ^7.0.0
1212
lightningcss: 1.30.1
1313
lightningcss-darwin-arm64: 1.30.1

0 commit comments

Comments
 (0)