1.0.1 • Published 4 years ago
@yoy20/prettier-plugin-css-order v1.0.1
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:
orderdefaults toconcentric-css.keepOverridesdefaults totrue, for a new codebasefalseis recommended.