Skip to main content

๏‚ญ Stylelint template for Docusaurus teams ๏„ต

stylelint-plugin-docusaurus

A Stylelint-first plugin scaffold for Docusaurus stylesheets, built around Stylelint and Docusaurus styling.

Stylelint-native

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

Docusaurus-aware

Focused on Docusaurus theme tokens, Infima usage, and component CSS boundaries.

Template-ready

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

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

๏ƒŠ 33 Public Rules

The plugin now ships focused guardrails for theme scopes, CSS Modules boundaries, selector stability, color mode, DocSearch pairing, navbar/mobile behavior, cascade-layer safety, and Infima token usage.

๎š 3 Shareable Configs

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

๓ฐจ DX-first Template

Typed helper scaffolding, docs sync, and Vitest integration are already in place.

๏„ต

Get Started

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

Open section โ†’

๎š

Configs

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

Open section โ†’

๏€ญ

Current Status

Read the migration status and template roadmap before designing the first public Docusaurus rules.

Open section โ†’