Plugins are rules and sets of rules built by the community that support methodologies, toolsets, non-standard CSS features, or very specific use cases. Their package names are prefixed with "stylelint". Their rule names are namespaced so that they do not clash with stylelint's core rules.
stylelint-8-point-grid
: Validate CSS with 8-point grid guidelinestylelint-a11y
: Accessibility rules (plugin pack).stylelint-at-rule-no-children
: Disallow block rule declarations inside at-rules (with a few exceptions).stylelint-color-format
: Convert HEX colors to either RGB or HSL.stylelint-csstree-validator
: Validate CSS values to match W3C specs and browsers extensions.stylelint-declaration-block-no-ignored-properties
: Disallow property values that are ignored due to another property value in the same rule.stylelint-declaration-strict-value
: Specify properties for which either a variable ($sass
,@less
,var(--cssnext)
), function or custom CSS keyword (inherit
,none
, etc.) must be used for its value.stylelint-declaration-use-variable
: Specify properties for which a variable must be used for its value.stylelint-high-performance-animation
: Stylelint rule for preventing the use of low performance animation and transition properties.stylelint-images
: Check your CSS images to improve the performance and avoid common mistakes (plugin pack).stylelint-media-use-custom-media
: Enforce usage of custom media queries in CSSstylelint-no-browser-hacks
: Disallow browser hacks that are irrelevant to the browsers you are targeting; uses stylehacks.stylelint-no-indistinguishable-colors
: Disallow colors that are suspiciously close to being identical.stylelint-no-unsupported-browser-features
: Disallow features that are unsupported by the browsers that you are targeting.stylelint-order
: Specify the ordering of things e.g. properties within declaration blocks (plugin pack).stylelint-prettier
: Runs Prettier as a stylelint rule.stylelint-react-native
: Enforce React Native specific linting rules (plugin pack).stylelint-rscss
: Validate RSCSS conventions.stylelint-scss
: Enforce a wide variety of SCSS-syntax specific linting rules (plugin pack).stylelint-selector-bem-pattern
: Specify a BEM pattern for selectors (incorporates postcss-bem-linter).stylelint-selector-no-empty
: Disallow empty Selectors.stylelint-selector-tag-no-without-class
: Disallow certain tags without a class qualifier in selectors.stylelint-suitcss
: A collection of stylelint plugins for SUIT CSS, including deprecated:root
rules (plugin pack).stylelint-value-no-unknown-custom-properties
: Disallow unknown custom properties.stylelint-z-index-value-constraint
: Specify minimum and maximum constraint value for z-index.