Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

Commit

Permalink
Version 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Jun 10, 2018
1 parent 0f30f0a commit 5cea303
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions README.md
Expand Up @@ -2,14 +2,15 @@

[![wemake.services](https://img.shields.io/badge/style-wemake.services-green.svg?label=&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC%2FxhBQAAAAFzUkdCAK7OHOkAAAAbUExURQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP%2F%2F%2F5TvxDIAAAAIdFJOUwAjRA8xXANAL%2Bv0SAAAADNJREFUGNNjYCAIOJjRBdBFWMkVQeGzcHAwksJnAPPZGOGAASzPzAEHEGVsLExQwE7YswCb7AFZSF3bbAAAAABJRU5ErkJggg%3D%3D)](http://wemake.services) [![Build Status](https://travis-ci.org/wemake-services/stylelint-config-strict-scss.svg?branch=master)](https://travis-ci.org/wemake-services/stylelint-config-strict-scss) [![Coverage Status](https://coveralls.io/repos/github/wemake-services/stylelint-config-strict-scss/badge.svg?branch=master)](https://coveralls.io/github/wemake-services/stylelint-config-strict-scss?branch=master)

Strict shareable config for stylelint and SCSS.
Strict shareable config for [`stylelint`](https://github.com/stylelint/stylelint) and SCSS.


## Features

- Extends [`stylelint-standard`](https://github.com/stylelint/stylelint-config-standard) config
- Turns on almost all rules from [`stylelint-scss`](https://github.com/kristerkari/stylelint-scss)
- Handles how `$variables` are defined
- Protects you from common mistakes
- Handles how `$variables` are defined and enforces to use them
- Handles how `@mixins`, `%placeholders`, and `@functions` should be defined
- Also checks `@imports`, declarations, `url()`s, and other minor things
- Enforces to use `autoprefixer` by restricting vendor prefixes
Expand All @@ -30,6 +31,8 @@ npm install --save-dev stylelint-config-strict-scss
This code is considered valid (and beautiful):

```scss
$mobile: 450px;

@function em ($size, $base-font: 16px) {
@return $size * 1em / $base-font;
}
Expand All @@ -44,7 +47,7 @@ div {
background-image: url('https://placehold.it/400x200');
padding: em($size: 5px);

@media screen and (min-width: 400px) {
@media screen and (min-width: $mobile) {
display: none;
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "stylelint-config-strict-scss",
"version": "0.4.0",
"version": "0.5.0",
"description": "Strict shareable config for stylelint and SCSS",
"main": "index.js",
"repository": "https://github.com/wemake-services/stylelint-config-strict-scss.git",
Expand Down

0 comments on commit 5cea303

Please sign in to comment.