unstale

npm / @shadcn/lint

@shadcn/lint

What changed in @shadcn/lint 0.1 to 0.2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

2 breaking1 new APIs and options2 behavior and defaults35 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.1.1 on npm

@shadcn/lint 0.220 changes

New APIs and options 1

Behavior and default changes 1

  • Classifies project custom theme scales, such as rounded-card, the way cn 0.4.0 merges them.

    0.2.1release notes

Fixes and other changes 18

  • Resolves a bare aliases.ui value such as src/ against the project, as the shadcn CLI does.

    0.2.1release notes

  • Reads Svelte shorthand attributes such as {className} the same way as their long form.

    0.2.1release notes

  • Font sizes from JavaScript @config modules are classified as typography rather than color.

    0.2.1release notes

  • Loads @config modules like Tailwind, allowing extensionless imports and TypeScript enums to build.

    0.2.1release notes

  • Checks variant classes keyed by computed names such as enum members.

    0.2.1release notes

  • Suggests variants only from a cva factory the component actually uses.

    0.2.1release notes

  • Matches dotted entries such as Option.some against method calls.

    0.2.1release notes

  • Allows fill-none and stroke-none in no-raw-colors.

    0.2.1release notes

  • Resolves a ui alias to a directory through wildcard package.json imports keys.

    0.2.1release notes

  • Font sizes from JavaScript @plugin modules are classified as typography rather than color.

    0.2.1release notes

  • Loads @plugin modules like Tailwind, allowing extensionless imports and TypeScript enums to build.

    0.2.1release notes

  • Judges classes by the component itself when its render prop renders a plain element.

    0.2.1release notes

  • Resolves Tailwind beside the stylesheet that imports it.

    0.2.1release notes

  • Under a Tailwind prefix, unprefixed classes are left to no-unknown-classes instead of being reported as undeclared colors.

    0.2.1release notes

  • Checks variant classes keyed by computed names such as enum members.

    0.2.1release notes

  • Suggests variants only from a tv factory the component actually uses.

    0.2.1release notes

  • Matches dotted entries such as Option.some against method calls.

    0.2.1release notes

  • Reads a barrel when its export list carries comments.

    0.2.0release notes

@shadcn/lint 0.120 changes

Breaking changes 2

  • Only Tailwind's own animate-* names now share the animate group.

    0.1.5release notes

  • Axis utilities such as px-2 now conflict with the logical sides they cover.

    0.1.5release notes

Behavior and default changes 1

  • 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.4release notes

Fixes and other changes 17

  • Reads a destructured binding's own slot of its initializer.

    0.1.3release notes

  • Resolves a ui package's alias to its own name.

    0.1.3release notes

  • Fixes handling of exports patterns.

    0.1.2release notes

  • Fixes plain selectors hiding raw colors.

    0.1.2release notes

  • Fixes scoped color namespaces.

    0.1.2release notes

  • Fixes theme reading past comments.

    0.1.2release notes

  • Fixes the TypeScript parser peer warning.

    0.1.2release notes

  • Astro class:list is treated as a class site, including when its value is a Set.

    0.1.1release notes

  • Declared --text-* and --shadow-* tokens are no longer reported as raw colors.

    0.1.1release notes

  • Component names are no longer derived from a package's minified exports.

    0.1.1release notes

  • A declared @utility class is no longer treated as a misspelling.

    0.1.1release notes

  • Classes are attributed to the component rendered by a render prop.

    0.1.1release notes

  • Classes on the trigger are retained when a render prop cannot be read.

    0.1.1release notes

  • Tailwind 3 utility names such as flex-grow and flex-shrink are classified.

    0.1.1release notes

  • When tailwind.css is a partial, base utilities are read from a discovered entry.

    0.1.1release notes

  • Theme imports resolve from a pnpm-linked package's real path.

    0.1.1release notes

  • Variant names are read through a type alias and a props union.

    0.1.1release notes