Skip to content

Commit ea97e9a

Browse files
committed
Update documentation around .stylelintrc usage
1 parent 7b3a743 commit ea97e9a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,18 @@ Ensure code conforms to the [SUIT code style](https://github.com/suitcss/suit/bl
112112
}
113113
```
114114

115+
The preprocessor will also pick up any rules added to a `.stylelintrc` in your
116+
project root. For example:
117+
118+
119+
```js
120+
{
121+
"extends": "stylelint-config-suitcss"
122+
}
123+
```
124+
125+
This works the same with the CLI `-l` flag
126+
115127
##### `minify`
116128

117129
* Type: `Boolean`

0 commit comments

Comments
 (0)