@azabraao/prettier-plugin-css-order

1.3.0 • Public • Published

CSS Order Prettier Plugin

LGTM Grade npm

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 to concentric-css.
  • keepOverrides defaults to true, for a new codebase false is recommended.

Package Sidebar

Install

npm i @azabraao/prettier-plugin-css-order

Weekly Downloads

81

Version

1.3.0

License

ISC

Unpacked Size

5.07 kB

Total Files

5

Last publish

Collaborators

  • azabraao