3.0.0 • Published 11 months ago
@funboxteam/stylelint-rules v3.0.0
@funboxteam/stylelint-rules
Stylelint plugin with custom rules.
Installation
npm install --save-dev @funboxteam/stylelint-rules
Obviously Stylelint should be installed too.
Rules
- declarations-before-nesting — forces block rules be placed above the nested blocks.
- no-transition-all — prevents use
all
value fortransition
&transition-property
props. - rgba-hex-color-only — prevents use
rgba
function with non-hex color as a first argument. - selector-max-type — limit the number of type selectors in a selector (compatible with @funboxteam/scss-vars-loader).