
Product
Announcing Bun and vlt Support in Socket
Bringing supply chain security to the next generation of JavaScript package managers
@jarrodldavis/eslint-plugin-tailwindcss
Advanced tools
An ESLint plugin to enforce usage of Tailwind CSS utility and component classes.
An ESLint plugin to enforce usage of Tailwind CSS utility and component classes.
Install with npm or yarn:
npm install --save-dev @jarrodldavis/eslint-plugin-tailwindcss
yarn add --dev @jarrodldavis/eslint-plugin-tailwindcss
In your .eslintrc.json (or other .eslintrc.* configuration file):
{
"plugins": ["@jarrodldavis/tailwindcss"],
"rules": {
"@jarrodldavis/tailwindcss/no-unknown-class": "error"
}
}
The same can be accomplished using the recommended config:
{
"extends": ["plugin:@jarrodldavis/tailwindcss/recommended"]
}
See the rule documentation for details about using and configuring the no-unknown-classes rule.
FAQs
An ESLint plugin to enforce usage of Tailwind CSS utility and component classes.
We found that @jarrodldavis/eslint-plugin-tailwindcss demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.