# prettier-plugin-two-style-order

> Prettier plugin which sorts related style property declarations

Latest version **1.0.1** (published 2021-09-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install prettier-plugin-two-style-order
pnpm add prettier-plugin-two-style-order
yarn add prettier-plugin-two-style-order
bun add prettier-plugin-two-style-order
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-09-03 |
| First published | 2021-08-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 7.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Nate Moore |
| Maintainers | chenshuai2144 |
| Keywords | prettier, plugin, style, css, order, group |

## Links

- npm: https://www.npmjs.com/package/prettier-plugin-two-style-order
- Repository: https://github.com/chenshuai2144/prettier-plugin-two-style-order
- Issues: https://github.com/chenshuai2144/prettier-plugin-two-style-order/issues
- npm.io page: https://npm.io/package/prettier-plugin-two-style-order

## Dependencies (3)

- [postcss](https://npm.io/package/postcss.md) ^8.3.6
- [postcss-less](https://npm.io/package/postcss-less.md) ^4.0.0
- [postcss-sorting](https://npm.io/package/postcss-sorting.md) 6.0.0

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2021-09-03
- 1.0.0 — 2021-08-25

## README

# Style Order for Prettier

__Style Order__ is a [Prettier](https://prettier.io/) plugin which sorts property declarations and groups related properties.

## Installation

```bash
npm i -D prettier-plugin-style-order
```

That's it! Prettier should automatically find/use the plugin.

If it doesn't seem to be working, refer to Prettier's [plugin docs](https://prettier.io/docs/en/plugins.html) for more in-depth directions.

## Credits

- [`postcss-sorting`](https://github.com/hudochenkov/postcss-sorting)
- [`stylelint-config-rational-order`](https://github.com/constverum/stylelint-config-rational-order)
- [`prettier-plugin-package`](https://github.com/shellscape/prettier-plugin-package)

---
_Source: https://npm.io/package/prettier-plugin-two-style-order · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
