Prettier plugin for formatting QuickApp (.ux) files, version 0.3.0. It integrates with Prettier to provide a universal interface for code formatting, supporting JS, CSS, Less, Sass, and Markdown within QuickApp projects. The plugin is specifically designed for the QuickApp platform (快应用), offering a common style guide for teams and helping identify potential code issues. It requires Prettier as a peer dependency and is compatible with Node.js >= 8.0.0. The plugin is maintained by nicejade and has a low release cadence with limited community adoption.
npm install prettier-plugin-uxVerified import paths — ran on the pinned version, not inferred.
Installation and basic usage of prettier-plugin-ux to format QuickApp files.
Install prettier as a dev dependency: yarn add --dev prettier
Simply install the plugin alongside Prettier.
Ensure file extension is .ux when running prettier.
Upgrade Node.js to version 8.0.0 or higher.
Run: yarn add --dev prettier
Ensure prettier-plugin-ux is installed in the same project as prettier.
Place prettier configuration under a "prettier" key in package.json (e.g., { "prettier": { "singleQuote": true } })