Skip to main content

Configs

stylelint-plugin-css-performance-budget exports these shareable configs:

Use them from performanceBudgetPluginConfigs or from extends subpath exports.

Start with Getting Started if you have not wired the plugin into Stylelint yet, or jump to the rule overview for rule-by-rule rollout guidance.

Config Matrixโ€‹

Rule๐ŸŸข Recommended๐Ÿ›ก๏ธ Strict๐ŸŸฃ All
no-excessive-filter-effectsYesYesYes
no-expensive-animation-propertiesYesYesYes
no-expensive-positioning-patternsNoYesYes
no-fixed-background-attachmentYesYesYes
no-giant-selector-listsNoYesYes
no-global-expensive-effectsYesYesYes
no-heavy-selectorsNoYesYes
no-layout-thrashing-propertiesYesYesYes
no-oversized-css-custom-property-valuesNoYesYes
no-paint-heavy-declarationsNoYesYes
no-render-blocking-importYesYesYes
no-will-change-abuseYesYesYes
require-reduced-motion-for-expensive-animationsNoYesYes

๐ŸŸข performance-budget-recommended is the low-noise adoption path. ๐Ÿ›ก๏ธ performance-budget-strict currently mirrors ๐ŸŸฃ performance-budget-all so teams can opt into an explicitly strict policy name without changing rule coverage later.