Home

Awesome

stylelint-config-strict-scss

wemake.services Build Status Coverage Status

Strict shareable config for stylelint and SCSS.

Features

Installation

npm install --save-dev stylelint-config-strict-scss

Code example

This code is considered valid (and beautiful):

$mobile: 450px;

@function em ($size, $base-font: 16px) {
  @return $size * 1em / $base-font;
}

%absctract-div {
  display: block;
}

div {
  @extend %abstract-div;

  background-image: url('https://placehold.it/400x200');
  padding: em($size: 5px);

  @media screen and (min-width: $mobile) {
    display: none;
  }
}

Do you want to see it in action? Take a look at our Vue template!

License

MIT.