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
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,7 +140,7 @@ var combedLESS = comb.processString(less, 'less');
140
140
141
141
### Through `.csscomb.json`
142
142
143
-
`csscomb` is configured using [.csscomb.json](https://github.com/csscomb/csscomb.js/blob/master/.csscomb.json) file, located in the project root.
143
+
`csscomb` is configured using [.csscomb.json](https://github.com/csscomb/csscomb.js/blob/master/config/csscomb.json) file, located in the project root.
144
144
145
145
Example configuration:
146
146
```json
@@ -166,9 +166,14 @@ Example configuration:
166
166
}
167
167
```
168
168
169
+
**Note**: you can use one of [predefined config files](https://github.com/csscomb/csscomb.js/tree/master/config)
Instead of configuring all the options one by one, you can use a CSS-template file instead: CSSComb.js would detect the codestyle used in this file and would use it as a config. All the existent properties except for the `sort-order` could be configured this way.
176
+
Instead of configuring all the options one by one, you can use a CSS-template file: CSSComb.js would detect the codestyle used in this file and would use it as a config. All the existent properties except for the `sort-order` could be configured this way.
172
177
173
178
To provide a template just add `"template"` with the path to the template in the `.csscomb.json`:
0 commit comments