{"library":"prettier-plugin-two-style-order","title":"prettier-plugin-two-style-order","description":"Prettier plugin (v1.0.1) that sorts CSS/SCSS property declarations and groups related properties together. It enforces a consistent order (e.g., positioning, box model, typography, visual) without requiring a separate linter like stylelint. Minimal configuration—just install. Compatible with Prettier >=2.0.0. Releases are infrequent; last updated in 2021. Differentiators: zero config, works as a Prettier plugin, no postcss dependency.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install prettier-plugin-two-style-order"],"cli":null},"imports":["// No explicit import needed; Prettier auto-loads plugins named prettier-plugin-*","// In .prettierrc: { \"plugins\": [\"prettier-plugin-two-style-order\"] }","// No options; plugin sorts automatically. Use .prettierrc for other prettier options."],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"npm install --save-dev prettier prettier-plugin-two-style-order\necho '{\n  \"semi\": true,\n  \"singleQuote\": true\n}' > .prettierrc\necho 'div {\n  color: red;\n  display: flex;\n  margin: 0;\n  font-size: 14px;\n}' > test.css\nnpx prettier --write test.css","lang":"javascript","description":"Installs dependencies, creates minimal Prettier config, and runs the plugin on a CSS file to sort properties.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}