fix(ui): move buttonVariants to its own file (lint clean) #16

Merged
ayoub merged 1 commit from fix/button-variants-lint into dev 2026-06-11 16:31:58 +00:00
Owner

The react-refresh rule flagged button.tsx for exporting a non-component
(buttonVariants) alongside the Button component. Moved the cva to
button-variants.ts (imported by button.tsx); button.tsx now exports only the
component. bun run lint is green across all workspaces.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

The react-refresh rule flagged button.tsx for exporting a non-component (buttonVariants) alongside the Button component. Moved the cva to button-variants.ts (imported by button.tsx); button.tsx now exports only the component. `bun run lint` is green across all workspaces. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ayoub self-assigned this 2026-06-11 16:31:52 +00:00
ayoub added 1 commit 2026-06-11 16:31:53 +00:00
The react-refresh rule flagged button.tsx for exporting a non-component
(buttonVariants) alongside the Button component. Moved the cva to
button-variants.ts (imported by button.tsx); button.tsx now exports only the
component. `bun run lint` is green across all workspaces.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ayoub merged commit 5dcd7ac978 into dev 2026-06-11 16:31:58 +00:00
ayoub deleted branch fix/button-variants-lint 2026-06-11 16:31:58 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ayoub/nerdware#16
No description provided.