Skip to content

feat: lint inline styles in Svelte components - #273

Merged
MichaelHolley merged 2 commits into
mainfrom
feat/extend-shadcn-lint
Sep 22, 2026
Merged

MichaelHolley merged 2 commits into
mainfrom
feat/extend-shadcn-lint

Conversation

@MichaelHolley

@MichaelHolley MichaelHolley commented Sep 22, 2026 •

Copy link
Copy Markdown
Owner

Inline styles in Svelte components bypass Tailwind and can pass through lint unnoticed.

Enable shadcn/no-inline-styles for Svelte files with no exceptions. The dynamic view-transition-name values on recipe titles and tags now come from a viewTransition attachment in $lib/utils, not style: directives. This also restores the shadcn Badge to its stock form.

Verification: pnpm check; pnpm lint; utils unit tests.

@vercel

vercel Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
rezeptly Ready Ready Preview Sep 22, 2026 9:10pm UTC

Removes the view-transition-name exception from the no-inline-styles lint rule and restores the shadcn Badge to its stock form.
@MichaelHolley
MichaelHolley force-pushed the feat/extend-shadcn-lint branch from 3114f31 to 720e06c Compare September 22, 2026 21:09
@MichaelHolley
MichaelHolley merged commit cee219a into main Sep 22, 2026
6 checks passed
@MichaelHolley
MichaelHolley deleted the feat/extend-shadcn-lint branch September 22, 2026 21:13

This branch was successfully deployed

1 active deployment
Preview — 720e06c5 Deployed Sep 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant