Shift with red gradient lettering

Tailwind Linter

The Tailwind Linter reviews your Tailwind project for lint by streamlining your Tailwind configuration as well as reviewing and sorting uses of the Tailwind utility classes.

Screenshot of a pull request with automated changes from the Tailwind Linter

Requirements

  • A project running Tailwind 3.x.

Detections

The Tailwind Linter detects and corrects the following lint:

  • Default values in your Tailwind configuration file.
  • Opportunities to use theme.extend and variants.extend within your Tailwind configuration file.
  • Elements with utilities which overwrite previously listed utilities.
  • Order of Tailwind utility classes based on the recommended order.
  • Duplicate utilities within a single class attribute or @apply declaration.

Sign in with any of the following services to connect Shift with your Laravel project.


Don't use one of these services?

Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.