Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
mxstbr committed Oct 26, 2016
1 parent b941cd1 commit 0f248ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -29,10 +29,13 @@ Add a `.stylelintrc` file to the root of your project:
```JSON
{
"processors": ["stylelint-processor-styled-components"],
"extends": "stylelint-config-standard"
"extends": "stylelint-config-standard",
"syntax": "scss"
}
```

> Setting the `syntax` to `scss` is needed for nesting and interpolation support!
Then you need to actually run `stylelint`.

Add a `lint:css` script to your `package.json`. This script will run `stylelint` with a path to all of your files containing `styled-components` code:
Expand Down

0 comments on commit 0f248ff

Please sign in to comment.