Back to browse
GitHub Repository

Enterprise-grade Stylelint plugin for spacing scale and token enforcement

4 starsJavaScript

Rhythmguard – spacing scale enforcement for CSS and Tailwind

by PetriLahdelma·Apr 28, 2026·1 point·0 comments

AI Analysis

MidSlick

Autofixes arbitrary Tailwind values like p-[13px] to your nearest scale token.

Strengths
  • Extends linting into JSX/TSX templates to catch arbitrary values in class strings.
  • Autofix capability automatically migrates off-scale values to the nearest token.
  • Governance covers motion offsets and transforms, not just standard padding margins.
Weaknesses
  • Design token enforcement is increasingly handled natively by Tailwind config itself.
  • Another stylelint plugin in a ecosystem already saturated with similar rulesets.
Target Audience

Frontend teams maintaining large design systems

Similar To

stylelint-config-standard · Tailwind CSS · Prettier

Similar Projects