@funboxteam/stylelint-rules
v3.0.0
Published
A collection of SCSS rules missing in stylelint-scss
Downloads
1,039
Keywords
Readme
@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).