A Prettier plugin for formatting scaffdog template syntax. Current stable version is 4.1.0, released with scaffdog monorepo. It automatically resolves scaffdog configuration to handle custom tags and Markdown file paths. Key differentiator: no manual configuration needed after install as Prettier auto-discovers the plugin. Active development with regular releases. Requires Node.js 18+. Supports TypeScript types for configuration.
npm install prettier-plugin-scaffdogVerified import paths — ran on the pinned version, not inferred.
Install plugin, then format a scaffdog template file with Prettier CLI. Plugin auto-discovers configuration.
Upgrade Node.js to 18+ or use version 3.x if on older Node.js.
Set scaffdogProject option in Prettier config file relative to that config file.
Upgrade to 4.1.0 or later to use typed config.
Run npm install --save-dev prettier-plugin-scaffdog
Check that @scaffdog/engine is installed (should be a dependency of prettier-plugin-scaffdog)