Skip to content

Commit 84dc4da

Browse files
committed
Add migration from CSSComb note
1 parent 302b708 commit 84dc4da

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Also available as [Sublime Text plugin], [Atom plugin], and [VS Code plugin].
2929
* [Predefined configs](#predefined-configs)
3030
* [`empty-lines-between-children-rules`](#empty-lines-between-children-rules)
3131
* [`empty-lines-between-media-rules`](#empty-lines-between-media-rules)
32+
* [Migration from CSSComb](#migration-from-csscomb)
3233
* [Usage](#usage)
3334
* [Text editor](#text-editor)
3435
* [Gulp](#gulp)
@@ -341,6 +342,10 @@ Example: `{ "empty-lines-between-media-rules": 1, "sort-order": ["@media"] }`
341342
}
342343
```
343344

345+
### Migration from CSSComb
346+
347+
If you used to use custom sorting order in [CSSComb] you can easily use this sorting order in PostCSS Sorting. `sort-order` option in this plugin is compatible with `sort-order` in CSSComb. Just copy `sort-order` value from CSSComb config to PostCSS Sorting config.
348+
344349
## Usage
345350

346351
See [PostCSS] docs for examples for your environment.

0 commit comments

Comments
 (0)