Skip to content

Commit

Permalink
2.0.0: clearer npm install instructions in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
fstelluto committed Jan 30, 2018
1 parent b522b6c commit 827e854
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,24 @@ _Inspired by Stylelint's own [stylelint-config-standard](https://github.com/styl
npm install --save-dev --exact stylelint-config-pv
```

## Prerequisite
You obviously need stylelint installed. Unless you are only using the plain css rules, you will also need to
install some plugins
```
# default
npm i -DE stylelint stylelint-scss stylelint-declaration-use-variable stylelint-order
# plain CSS only
npm i -DE stylelint
# scss rules
npm i -DE stylelint-scss stylelint-declaration-use-variable
# idiomatic css
npm i -DE stylelint-order
```


## Usage

We export two configurations for usage in projects, with the possibility to include or exclude Idiomatic CSS
Expand Down

0 comments on commit 827e854

Please sign in to comment.