atom-postcss-sorting icon indicating copy to clipboard operation
atom-postcss-sorting copied to clipboard

Respect main PostCSS sorting config

Open AlecRust opened this issue 7 years ago • 0 comments

It would be great if this package could respect the main config for postcss-sorting in my package.json e.g.

"postcss": {
  "plugins": {
    "postcss-import": {},
    "postcss-nested": {},
    "postcss-sorting": {
      "properties-order": "alphabetical"
    },
    "autoprefixer": {
      "browsers": "> 5%"
    }
  }
}

Currently I add this underneath as well:

"postcssSortingConfig": {
  "properties-order": "alphabetical"
}

AlecRust avatar Mar 22 '17 09:03 AlecRust