oxlint-tailwindcss: the linting plugin Tailwind v4 needed
From problem to open-source: the perfect opportunity to contribute The day the oxc team opened the alpha for native oxlint plugins, it was the perfect excuse to solve a problem I'd been having at m...

Source: DEV Community
From problem to open-source: the perfect opportunity to contribute The day the oxc team opened the alpha for native oxlint plugins, it was the perfect excuse to solve a problem I'd been having at my current job for a while — linting Tailwind CSS classes with oxlint. If you use Tailwind CSS v4 with oxlint, the existing linting options aren't built for that combo. eslint-plugin-tailwindcss is solid but lives in the ESLint world and its v4 support is still partial. eslint-plugin-better-tailwindcss works in oxlint through the jsPlugins compatibility layer, and it gets the job done — but it's not a native plugin and its rules are more limited. Neither was designed specifically for oxlint + Tailwind CSS v4. So I built it. What is oxlint-tailwindcss A native oxlint plugin with 22 linting rules designed exclusively for Tailwind CSS v4. It's not an ESLint port or a wrapper — it uses the @oxlint/plugins API directly. This matters because being native means it shares the same parsing cycle as oxl