v5.0.0-beta.6
Pre-release
Pre-release
·
2 commits
to master
since this release
🚀 Features
-
@maz-ui/eslint-config: Add maz/tailwind-no-arbitrary-px rule (2b52d922)
New ESLint rule that enforces
rem(orem) instead ofpxunits in Tailwind arbitrary value classes (w-[16px],[gap:24px], etc.) with automatic fixes. Enable via thetailwindcssconfig option:defineConfig({ tailwindcss: { preset: 'recommended', noArbitraryPx: { baseFontSize: 16, unit: 'rem', severity: 'error' }, }, })
The plugin registers automatically with this configuration. For manual setup, import and wire
mazPlugindirectly without enabling the full Tailwind preset.
📦 Build
- Upgrade dependencies (69a1869b)
❤️ Contributors
- LouisMazel (@LouisMazel)