Package Exports
- @fredluetkemeier/prettier-plugin-css-order
- @fredluetkemeier/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 (@fredluetkemeier/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 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:
orderdefaults toconcentric-css.keepOverridesdefaults totrue, for a new codebasefalseis recommended.