mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 03:27:29 -04:00
1.7 KiB
1.7 KiB
Plugins
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-csstree-validator
: Validate CSS values to match W3C specs and browsers extensions.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-no-browser-hacks
: Disallow browser hacks that are irrelevant to the browsers you are targeting; uses stylehacks.stylelint-order
: Specify the ordering of things e.g. properties within declaration blocks (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).