$ npm install prettier-plugin-two-style-order
Style Order is a Prettier plugin which sorts property declarations and groups related properties.
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.
© 2010 - cnpmjs.org x YWFE | Home | YWFE