Prettier plugin that formats Stylus stylesheets using the stylus-supremacy formatting rules. Current stable version is 1.0.4. Requires Prettier v2.0.0+ and ships TypeScript type definitions. Differentiators: provides a wide range of formatting options (e.g., insertion of braces, quotes, parentheses control) via prettierrc, allows seamless integration with Prettier's CLI and editor tooling, and maintains consistency with Stylus community conventions.
npm install prettier-plugin-stylus-supremacyVerified import paths — ran on the pinned version, not inferred.
Installs the plugin, configures formatting options in .prettierrc, and runs Prettier on Stylus files via CLI.
Ensure Prettier version is ^2.0.0. Do not use with Prettier v3+.
Upgrade Prettier to ^2.0.0.
Refer to the plugin's documentation for the current option names.
Run 'npm install prettier-plugin-stylus-supremacy --save-dev' inside your project.
Ensure the package is installed. For global Prettier, install plugin globally as well: 'npm install -g prettier-plugin-stylus-supremacy'.
Downgrade Prettier to ^2.0.0.