- Install the plugin
$ apm install postcss-sorting
- Download the .json file
- place the .json file in your home folder
- goto your atom settings and search the plugin
- look for the custom config input
- path to your config file is ~/.postcss-sorting.json
- that's all ๐
- open messy scss file
- use the command CTRL+SHIFT+S
- or use CMD+SHIFT+P and type "postcss sorting: run"
- you can enable "on save" but some mixin go broke after that!
not fully tested yet!