Prettier plugin which sorts related style property declarations
npm install prettier-plugin-two-style-order__Style Order__ is a Prettier plugin which sorts property declarations and groups related properties.
``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 for more in-depth directions.
- postcss-sorting
- stylelint-config-rational-order
- prettier-plugin-package`