Skip to main content

๏‚ญ Stylelint plugin for CSS Grid ๏„ต

stylelint-plugin-grid

A Stylelint-first plugin for CSS Grid templates, built around Stylelint and CSS Grid layout.

Stylelint-native

Built around Stylelint's native plugin-pack model and ESM config authoring.

Grid-aware

Focused on authored grid templates, named areas, track counts, and safe layout primitives.

Template-ready

Template-first infrastructure for rules, docs, sync scripts, and tests.

  • Codecov
  • GitHub forks
  • GitHub open issues
  • GitHub stars
  • latest GitHub release
  • npm license
  • npm total downloads

๎š 2 Shareable Configs

Start with a conservative default or opt into the full stable catalog later.

๏ƒŠ 21 Public Rules

The plugin ships focused guardrails for malformed templates, non-rectangular areas, track-count drift, stale area references, and legacy gap aliases.

๓ฐจ Stylelint 16+

Older Stylelint support for users of the previous major version.

๎š

Configs

Compare the exported configs and understand why `recommended` stays conservative while `all` adds stricter opt-in rules.

Open section โ†’

๏„ต

Get Started

Install the package, enable a shareable config, and understand the plugin-pack export shape.

Open section โ†’

๏€ญ

Current Status

Read the current rule scope and static-analysis boundaries before enabling stricter checks.

Open section โ†’