diff --git a/README.md b/README.md index 2727b86..55606e5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ -[![npm](https://img.shields.io/npm/v/stylelint-config-semantic.svg)](https://www.npmjs.com/package/stylelint-config-semantic) -[![Build Status](https://travis-ci.org/rodoabad/stylelint-config-semantic.svg?branch=master)](https://travis-ci.org/rodoabad/stylelint-config-semantic) +[![npm](https://img.shields.io/npm/v/stylelint-config-semantic.svg?style=flat-square)](https://www.npmjs.com/package/stylelint-config-semantic) +[![npm](https://img.shields.io/npm/dm/stylelint-config-semantic.svg?style=flat-square)](https://www.npmjs.com/package/stylelint-config-semantic) +[![Travis](https://img.shields.io/travis/rodoabad/stylelint-config-semantic.svg?style=flat-square)](https://travis-ci.org/rodoabad/stylelint-config-semantic) # Semantic rules for your CSS @@ -13,9 +14,7 @@ You need to have `stylelint` and this config as part of your `devDependencies`. ## Usage -### Load everything - -To use all the rules all at once add `stylelint-config-semantic` to your `extends` property in `.stylelintrc`. +Add `stylelint-config-semantic` to your `extends` property in `.stylelintrc`. ```json { @@ -25,24 +24,6 @@ To use all the rules all at once add `stylelint-config-semantic` to your `extend } ``` -### Load a specific rule - -Each rule for `stylelint-config-semantic` can be loaded individually if you only want to load a specific rule. They are all located in the `lib` folder. - -Load the `color` and `general` rule set. - -```json -{ - "extends": [ - "stylelint-config-semantic/lib/color", - "stylelint-config-semantic/lib/general" - ] -} -``` - - -### Override specific rules - To override the rules set by `stylelint-config-semantic` you need to define your own rules and set them as you see fit. ```json