Package Exports
- @azabraao/prettier-plugin-css-order
- @azabraao/prettier-plugin-css-order/src/main.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@azabraao/prettier-plugin-css-order) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
CSS Order Prettier Plugin
A Prettier plugin to sort CSS, SCSS or Less declarations based on their property names.
Using @azabraao/css-declaration-sorter under the hood.
Usage
Following the Prettier plugin guidelines, this package depends on Prettier as a peer dependency:npm install postcss prettier-plugin-css-order --save-dev
After installation Prettier should automatically use this plugin.
Configuration
This plugin adds two configurable keys to Prettier:
order
defaults toconcentric-css
.keepOverrides
defaults totrue
, for a new codebasefalse
is recommended.