AI product Open source
@shadcn/lint is an agent-first linter for Tailwind v4 design systems. It lets teams define component and theme rules that coding agents can verify through ESLint or Oxlint, reporting violations with suggested fixes drawn from existing components, variants, and theme values. Its rules include preventing component restyling, raw colors, arbitrary values, inline styles, unknown Tailwind classes, and dynamic classes the linter cannot read; custom contracts, messages, placeholders, component-import settings, and shared configuration are supported. It can be used with custom Tailwind components and does not require shadcn/ui. The package requires Node.js 20.19 or later, with ESLint 9.30 or later or Oxlint 1.80 or later, and is licensed under MIT.
2 uses taken from transcripts — each links to the moment in the video.
Turns Tailwind design rules into checks that coding agents can run. It reports violations and suggests alternatives from an existing design system, working with ESLint or Oxlint on Tailwind v4 projects.
An agent-first, Tailwind-focused ESLint and Oxlint plugin for enforcing design-system rules. It lets developers define allowed classes for components and gives coding agents guidance for correcting violations.
2 in the library.