@yoy20/prettier-plugin-css-order

1.0.1 • Public • Published

forked from prettier-plugin-css-order

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 @yoy20/prettier-plugin-css-order

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

5.11 kB

Total Files

5

Last publish

Collaborators

  • ac-yoy