1.1.0 • Published 5 months ago

prettier-plugin-emotion-order v1.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

A Prettier v3+ plugin for Emotion v11.0+ that automatically sorts classes based on selectable recommended class order.

Installation

To get started, install prettier-plugin-emotion-order as a dev-dependency:

npm install -D prettier prettier-plugin-emotion-order

Then add the plugin to your Prettier configuration:

// .prettierrc
{
  "plugins": ["prettier-plugin-emotion-order"]
}