Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(deps): Upgrade eslint-plugin-tailwindcss (#17245)

Ben Bachembc3c51fa6a09
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3763f55346..1def897b53 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -69,7 +69,7 @@ overrides:
'@ai-sdk/ui-utils>@ai-sdk/provider-utils': 2.2.8
next-auth>nodemailer: ^9.0.3
-packageExtensionsChecksum: sha256-QG4c9KJXY/TKGmHnbwxEePs/bdv0Wj8pLpBLp8HZH0Y=
+packageExtensionsChecksum: sha256-WsueXkDwaA1Mur66bfJz2RLd0+lO1INOq2n8H30Pf8M=
patchedDependencies:
'@radix-ui/[email protected]': fb2bc2e96ad2c31dcb5860e509374a512fa08b1fade5805e3ae2dc72dcd68a0b
@@ -988,8 +988,8 @@ importers:
specifier: 10.5.10
eslint-plugin-tailwindcss:
- specifier: 4.0.2
+ specifier: 4.4.0
jsdom:
specifier: ^26.1.0
version: 26.1.0([email protected])
@@ -7826,11 +7826,16 @@ packages:
peerDependencies:
eslint: '>=8'
- resolution: {integrity: sha512-I/plNAFclmxJUUzKhQ6W2sMYcfxMMYLcslVFzRwtoIaheLOvKoVluTOxx67aX0H234gAlKW5VuK0fOVWgPFkqQ==}
+ resolution: {integrity: sha512-cPyEIeBTVbPU30oQTm7pOqOYurb5vtGaGhRCajYsSUwpUS9fvswB13dOLDUjGJJ+Rt8ylXf4L0hrhLA7Hf7WTQ==}
engines: {node: '>=20.19.0'}
peerDependencies:
+ eslint: ^9.0.0 || ^10.0.0
tailwindcss: ^4.0.0
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
resolution: {integrity: sha512-4a1hbA04A4D5ZdSpzTAVn2JL0RqEOava+u6MJzxMoY5ckWfqdgcmJnez7a83gj4bUTomBqDP6vlb4Q7LqrfYaw==}
@@ -19479,17 +19484,18 @@ snapshots:
- supports-color
- typescript
dependencies:
postcss: 8.5.25
postcss-nested: 7.0.2([email protected])
synckit: 0.11.13
tailwind-api-utils: 1.0.3([email protected])
tailwindcss: 4.2.2
- typescript: '@typescript/[email protected]'
+ optionalDependencies:
+ typescript: 7.0.2
transitivePeerDependencies:
- - eslint
- supports-color
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 48f3bad3bd..7c025c1f94 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -46,9 +46,6 @@ packageExtensions:
dependencies:
typescript: npm:@typescript/typescript6@^6.0.2
- dependencies:
- typescript: npm:@typescript/typescript6@^6.0.2
dependencies:
typescript: npm:@typescript/typescript6@^6.0.2
diff --git a/web/eslint.config.mjs b/web/eslint.config.mjs
index 94a5c1abe2..52fb180681 100644
--- a/web/eslint.config.mjs
+++ b/web/eslint.config.mjs
@@ -112,12 +112,17 @@ export default [
"peer",
// Valid named Tailwind peer marker; eslint-plugin-tailwindcss v4 misses it with Tailwind v4.
"peer/menu-button",
+ // Component hooks used by the command and dialog primitives.
+ "cmdk-input-wrapper",
+ "dialog-header",
+ "dialog-footer",
],
},
],
"tailwindcss/enforces-negative-arbitrary-values": "warn",
// TODO: Enable these rule later
"tailwindcss/classnames-order": "off",
+ "tailwindcss/enforces-canonical-classname": "off",
"tailwindcss/enforces-shorthand": "off",
"tailwindcss/no-unnecessary-arbitrary-value": "off",
"tailwindcss/no-contradicting-classname": "off",
diff --git a/web/package.json b/web/package.json
index 1b5b913cb7..c1f5877c17 100644
--- a/web/package.json
+++ b/web/package.json
@@ -205,7 +205,7 @@
"eslint-plugin-boundaries": "7.2.0",
"eslint-plugin-react-you-might-not-need-an-effect": "^1.0.1",
"eslint-plugin-storybook": "10.5.10",
- "eslint-plugin-tailwindcss": "4.0.2",
+ "eslint-plugin-tailwindcss": "4.4.0",
"jsdom": "^26.1.0",
"langfuse-core": "^3.38.4",
"node-mocks-http": "^1.17.2",
diff --git a/web/src/features/prompts/components/timeline.tsx b/web/src/features/prompts/components/timeline.tsx
index 23b6cf187e..da7dd0182b 100644
--- a/web/src/features/prompts/components/timeline.tsx
+++ b/web/src/features/prompts/components/timeline.tsx
@@ -52,7 +52,7 @@ export function TimelineItem({
{/* Timeline dot */}
<div
className={cn(
- "fill bg-border-contrast absolute top-3 -left-[11.5px] h-2 w-2 rounded-full",
+ "bg-border-contrast absolute top-3 left-[-11.5px] h-2 w-2 rounded-full",
isActive ? "border-primary" : "border-muted-foreground",
)}
/>
diff --git a/web/src/features/tag/components/TagInput.tsx b/web/src/features/tag/components/TagInput.tsx
index af7b845150..7ede5ea07f 100644
--- a/web/src/features/tag/components/TagInput.tsx
+++ b/web/src/features/tag/components/TagInput.tsx
@@ -66,7 +66,7 @@ export const TagInput = React.forwardRef<
<CommandPrimitive.Input
ref={ref}
className={cn(
- "placeholder:muted-foreground flex h-8 w-full rounded-md border-transparent bg-transparent px-1 text-sm outline-hidden focus:border-0 focus:border-none focus:border-transparent focus:ring-0 disabled:cursor-not-allowed disabled:opacity-50",
+ "placeholder:text-muted-foreground flex h-8 w-full rounded-md border-transparent bg-transparent px-1 text-sm outline-hidden focus:border-0 focus:border-none focus:border-transparent focus:ring-0 disabled:cursor-not-allowed disabled:opacity-50",
className,
)}
autoFocus
diff --git a/web/src/features/theming/ThemeToggle.tsx b/web/src/features/theming/ThemeToggle.tsx
index 2736c48dd5..53134c9495 100644
--- a/web/src/features/theming/ThemeToggle.tsx
+++ b/web/src/features/theming/ThemeToggle.tsx
@@ -14,7 +14,7 @@ export function ThemeToggle() {
<Sun
className={cn(
theme === "light" ? "text-primary-accent" : "",
- "text:primary hover:bg-input hover:text-primary-accent h-[1.6rem] w-[1.6rem] rounded-sm p-1",
+ "hover:bg-input hover:text-primary-accent h-[1.6rem] w-[1.6rem] rounded-sm p-1",
)}
onClick={(e) => {
e.preventDefault();