Skip to main content

Current Status

The repository has been re-identified as stylelint-plugin-grid and now ships a focused CSS Grid rule catalog.

Stable Scopeโ€‹

  • Grid area template parsing is intentionally conservative.
  • Track-count validation handles explicit tracks and integer repeat(...) notation.
  • Auto-repeat validation catches definitely invalid fixed-size mistakes while avoiding runtime-dependent var(...) and env(...) values.
  • Rules skip dynamic values such as var(...), env(...), and multi-value grid-area line placement when static analysis would be unreliable.

Deliberate Non-Goalsโ€‹

  • Inferring component relationships across files.
  • Guessing whether duplicate grid-area assignments are intentional overlays.
  • Inferring row sizing for column auto-placement from other selectors or cascade branches.
  • Rewriting grid-template-areas strings automatically.

Those choices keep the plugin useful on save instead of turning it into a noisy layout oracle.