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(...)andenv(...)values. - Rules skip dynamic values such as
var(...),env(...), and multi-valuegrid-arealine placement when static analysis would be unreliable.
Deliberate Non-Goalsโ
- Inferring component relationships across files.
- Guessing whether duplicate
grid-areaassignments are intentional overlays. - Inferring row sizing for column auto-placement from other selectors or cascade branches.
- Rewriting
grid-template-areasstrings automatically.
Those choices keep the plugin useful on save instead of turning it into a noisy layout oracle.
Related Docsโ
- Getting Started shows the recommended baseline config.
grid-allincludes the stricter same-stylesheet rules.no-invalid-auto-repeatandno-invalid-minmaxcover track sizing syntax that browsers can reject.no-dense-auto-flow,require-explicit-rows-with-column-flow,no-unused-areas,no-overlapping-areas, andconsistent-area-namingare the main rules to review before opting into stricter policy checks.