@fredluetkemeier/prettier-plugin-css-order

1.2.2 • 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 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 @fredluetkemeier/prettier-plugin-css-order

Weekly Downloads

1

Version

1.2.2

License

ISC

Unpacked Size

4.56 kB

Total Files

6

Last publish

Collaborators

  • fredluetkemeier