shadcn
5 rules @shadcn/lint@0.1.1
Complete effective rule inventory.
Rules
No enabled shadcn rules match this search.
-
shadcn/no-arbitrary-valuesDisallow arbitrary values on appearance utilities; use theme tokens and scale values.
: warning in TypeScript source, React source, JavaScript source, React JavaScript source, TypeScript tests, Bun tests, Playwright end-to-end tests, Syntax-only tool configuration -
shadcn/no-inline-stylesDisallow inline style attributes, except CSS custom properties.
: warning in All shadcn contexts -
shadcn/no-restyleDisallow classes on design-system components except what the rule's allow list and the component's contract permit.
: warning in TypeScript source, React source, JavaScript source, React JavaScript source, TypeScript tests, Bun tests, Playwright end-to-end tests, Syntax-only tool configuration -
shadcn/no-unknown-classesDisallow classes Tailwind does not know; no CSS is generated for them.
: warning in All shadcn contexts -
shadcn/require-static-classesRequire statically analyzable className values on design-system components.
: warning in TypeScript source, React source, JavaScript source, React JavaScript source, TypeScript tests, Bun tests, Playwright end-to-end tests, Syntax-only tool configuration