# What changed in @shadcn/lint

> 40 changes in @shadcn/lint 0.1 to 0.2 from its official release notes, upgrade guides and advisories: 2 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/@shadcn/lint/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @shadcn/lint 0.2

### New APIs and options

- Adds support for Vue and Svelte. (0.2.0) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.0)

### Behavior and default changes

- Classifies project custom theme scales, such as rounded-card, the way cn 0.4.0 merges them. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)

### Fixes and other changes

- Resolves a bare aliases.ui value such as src/ against the project, as the shadcn CLI does. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)
- Reads Svelte shorthand attributes such as {className} the same way as their long form. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)
- Font sizes from JavaScript @config modules are classified as typography rather than color. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)
- Loads @config modules like Tailwind, allowing extensionless imports and TypeScript enums to build. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)
- Checks variant classes keyed by computed names such as enum members. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)
- Suggests variants only from a cva factory the component actually uses. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)
- Matches dotted entries such as Option.some against method calls. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)
- Allows fill-none and stroke-none in no-raw-colors. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)
- Resolves a ui alias to a directory through wildcard package.json imports keys. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)
- Font sizes from JavaScript @plugin modules are classified as typography rather than color. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)
- Loads @plugin modules like Tailwind, allowing extensionless imports and TypeScript enums to build. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)
- Judges classes by the component itself when its render prop renders a plain element. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)
- Resolves Tailwind beside the stylesheet that imports it. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)
- Under a Tailwind prefix, unprefixed classes are left to no-unknown-classes instead of being reported as undeclared colors. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)
- Checks variant classes keyed by computed names such as enum members. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)
- Suggests variants only from a tv factory the component actually uses. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)
- Matches dotted entries such as Option.some against method calls. (0.2.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.1)
- Reads a barrel when its export list carries comments. (0.2.0) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.2.0)

## @shadcn/lint 0.1

### Breaking changes

- Only Tailwind's own animate-* names now share the animate group. (0.1.5) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.5)
- Axis utilities such as px-2 now conflict with the logical sides they cover. (0.1.5) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.5)

### Behavior and default changes

- An animate-* class classifies as motion when the theme declares --animate-<name> or CSS declares it with @utility or a selector, without requiring cn to group every animate-* name. (0.1.4) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.4)

### Fixes and other changes

- Reads a destructured binding's own slot of its initializer. (0.1.3) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.3)
- Resolves a ui package's alias to its own name. (0.1.3) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.3)
- Fixes handling of exports patterns. (0.1.2) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.2)
- Fixes plain selectors hiding raw colors. (0.1.2) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.2)
- Fixes scoped color namespaces. (0.1.2) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.2)
- Fixes theme reading past comments. (0.1.2) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.2)
- Fixes the TypeScript parser peer warning. (0.1.2) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.2)
- Astro class:list is treated as a class site, including when its value is a Set. (0.1.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.1)
- Declared --text-* and --shadow-* tokens are no longer reported as raw colors. (0.1.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.1)
- Component names are no longer derived from a package's minified exports. (0.1.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.1)
- A declared @utility class is no longer treated as a misspelling. (0.1.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.1)
- Classes are attributed to the component rendered by a render prop. (0.1.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.1)
- Classes on the trigger are retained when a render prop cannot be read. (0.1.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.1)
- Tailwind 3 utility names such as flex-grow and flex-shrink are classified. (0.1.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.1)
- When tailwind.css is a partial, base utilities are read from a discovered entry. (0.1.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.1)
- Theme imports resolve from a pnpm-linked package's real path. (0.1.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.1)
- Variant names are read through a type alias and a props union. (0.1.1) — [release notes](https://github.com/shadcn-ui/lint/releases/tag/%40shadcn/lint%400.1.1)
