You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,12 +99,16 @@ Where to resolve imports from. Passed to [`postcss-import`](https://github.com/p
99
99
* Type: `Boolean`
100
100
* Default: `false`
101
101
102
-
Ensure code conforms to the [SUIT code style](https://github.com/suitcss/suit/blob/master/doc/STYLE.md). Stylelint [configuration options](http://stylelint.io/?/docs/user-guide/configuration.md) can also be overridden:
102
+
Ensure code conforms to the [SUIT code style](https://github.com/suitcss/suit/blob/master/doc/STYLE.md)
103
+
by using the [stylelint-config-suitcss](https://github.com/stylelint/stylelint-config-suitcss) package.
104
+
105
+
Stylelint [configuration options](http://stylelint.io/?/docs/user-guide/configuration.md) can also be overridden:
103
106
104
107
```js
105
108
{
106
109
lint:true,
107
110
stylelint: {
111
+
extends:'stylelint-config-suitcss',
108
112
rules: {
109
113
indentation: [4, 'tab'],
110
114
}
@@ -122,8 +126,6 @@ project root. For example:
122
126
}
123
127
```
124
128
125
-
This would also need the [stylelint-config-suitcss](https://github.com/stylelint/stylelint-config-suitcss) package to be installed.
126
-
127
129
**Note**: This works the same with the CLI `-l` flag.
0 commit comments