DEDUPED Hot AI repos, turned into use cases Get 5 a day

What you can do with Lint

A linter for Tailwind design systems that lets you define allowed styling and gives coding agents fix suggestions drawn from your own components and theme.

Trended earlier

Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk.

3 use cases

  • Block arbitrary Tailwind values in agent-written UI

    Flag off-scale Tailwind values so agents use your theme's spacing, colors, and sizes instead.

    View prompt
    Use the GitHub repo shadcn-ui/lint to set up the no-arbitrary-values rule in <project-path>. Follow the README ESLint setup for React, then run the lint command. Expected output: a list of arbitrary Tailwind values in the project, or zero errors. Verify that the rule reports a test class such as p-[13px] in one component file.
  • Lock component styling with per-component contracts

    Let pages change some styles on a component while keeping its size, shape, and font fixed.

    View prompt
    Use the GitHub repo shadcn-ui/lint to add a no-restyle contract for <component-name> in <project-path>. Write the contract in the ESLint config, then run the lint command. Expected output: the contract allows the listed classes and reports the others. Verify that one disallowed class on <component-name> produces the custom message from the config.
  • Make coding agents fix Lint errors before finishing

    Give the agent a Lint command and an instruction to run it and fix errors after every change.

    View prompt
    Use the GitHub repo shadcn-ui/lint to set up the lint loop in <project-path>. Install the package, add the lint script, and add the README instruction to AGENTS.md. Expected output: npm run lint exits cleanly on the current code. Verify that a deliberate arbitrary value in one file makes the command report an error.

How to use Lint

  1. Check you have what it needs: Node.js 20.19 or later; A Tailwind v4 project (shadcn/ui is not required); ESLint 9.30 or later, or Oxlint 1.80 or later.
  2. Open shadcn-ui/lint on GitHub and read the README and license.
  3. Run npm install -D @shadcn/lint eslint @typescript-eslint/parser in the project.
  4. Create eslint.config.mjs with the shadcn plugin and the rule "shadcn/no-arbitrary-values": "error", as shown in the React ESLint setup.
  5. Run npx eslint . and confirm it reports any existing arbitrary values.
  6. Fix the reported files or add the Lint command to package.json as the Lint script.

These steps come from our top use case, Block arbitrary Tailwind values in agent-written UI, which also has a copy-paste agent prompt.

Lint alternatives · Best AI repos for Software and DevOps

About this repo

  • Who it is forFront-end developers and teams using coding agents to write React, Vue, or Svelte UI on a Tailwind v4 project.
  • Why it is hot
  • LanguageTypeScript
  • Sourcegithub.com/shadcn-ui/lint · Back to Hot repos

Requirements

  • Node.js 20.19 or later
  • A Tailwind v4 project (shadcn/ui is not required)
  • ESLint 9.30 or later, or Oxlint 1.80 or later
  • A React, Vue, or Svelte project
Maintain Lint? Add the Featured on Deduped badge

Paste this into your README:

[![Featured on Deduped](https://dedupedai.com/badge/shadcn-ui-lint.svg)](https://dedupedai.com/use-cases/shadcn-ui-lint/?ref=badge)

More badge styles and HTML

Questions about Lint

What is Lint?

A linter for Tailwind design systems that lets you define allowed styling and gives coding agents fix suggestions drawn from your own components and theme. It is an open-source project on GitHub: https://github.com/shadcn-ui/lint.

Who is Lint for?

Front-end developers and teams using coding agents to write React, Vue, or Svelte UI on a Tailwind v4 project.

What can I do with Lint?

3 use cases so far, for example: Block arbitrary Tailwind values in agent-written UI; Lock component styling with per-component contracts; Make coding agents fix Lint errors before finishing. Each has steps and a copy-paste agent prompt.

What do I need to run Lint?

Node.js 20.19 or later; A Tailwind v4 project (shadcn/ui is not required); ESLint 9.30 or later, or Oxlint 1.80 or later; A React, Vue, or Svelte project.

What are alternatives to Lint?

Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.

Is Lint safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.