Release-safe defaults
Starts with low-noise rules that catch expensive rendering patterns before they ship.
Stylelint plugin for CSS performance budgets
stylelint-plugin-css-performance-budget warns on heavy selectors, render-blocking imports, expensive filters, layout-thrashing declarations, paint-heavy effects, fixed scroll surfaces, and motion that needs a reduced-motion escape hatch.
Release-safe defaults
Starts with low-noise rules that catch expensive rendering patterns before they ship.
AST-first checks
Rules use targeted PostCSS walks and parser-aware value helpers instead of full-root rescans.
Static rule docs
Every rule includes examples, options, and preset membership generated from metadata.
13 rules
โข Rule coverage
Selector, layout, paint, animation, import, and accessibility budget checks.
3 configs
โข Config surfaces
Recommended, strict, and all profiles for different adoption levels.
Stylelint 16+
โข Release gate
Supports Stylelint 16 and 17 with a single codebase and unified docs.
Adoption path
๐ข Start here
Enable the practical baseline for teams that want performance warnings without a noisy first run.
Open config๐ก๏ธ Tighten review
Use the stricter public profile when performance regressions should block review earlier.
Open config๐ฃ Full audit
Turn on every rule, including specialized audits for custom properties and fixed layers.
Open configRule lanes
Keep selector matching and parser work inside an explicit budget.
Catch declarations that push rendering back to layout or expensive paint paths.
Flag filters, fixed surfaces, and animation targets that are costly during scroll or motion.
Surface hidden costs in imports, will-change hints, positioned layers, and custom values.
Project surfaces
Install
Install the package, choose a config, and wire the plugin into an ESM Stylelint config.
Open sectionReference
Browse the full rule list with examples, options, and guidance for rollout decisions.
Open sectionMaintain
Inspect exported types, config contracts, and generated API documentation for maintainers.
Open section