@yoy20/prettier-plugin-css-order
v1.0.1
Published
Sort CSS declarations in a certain order.
Downloads
2
Maintainers
Readme
forked from prettier-plugin-css-order
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:
order
defaults toconcentric-css
.keepOverrides
defaults totrue
, for a new codebasefalse
is recommended.