Prettier plugin for formatting .qk (Qingkuai) files. Current stable version: 1.0.30. Release cadence is irregular. It relies on the Qingkuai compiler for parsing, providing Prettier-compatible formatting. Key differentiator: it's the only formatter for the niche .qk file format (likely China-specific). Requires Prettier ^3.5.3 and qingkuai ^1.0.46 as peer dependencies. Ships TypeScript types.
npm install prettier-plugin-qingkuaiVerified import paths — ran on the pinned version, not inferred.
Shows how to set up .prettierrc.json with the plugin and run prettier to format a .qk file.
Ensure you have prettier@^3.5.3 and qingkuai@^1.0.46 installed.
Use prettier-plugin-qingkuai@0.x for Prettier 2.x.
Use default import: import plugin from 'prettier-plugin-qingkuai'.
Run: npm install prettier qingkuai prettier-plugin-qingkuai
Install qingkuai@^1.0.46: npm install qingkuai@^1.0.46