An ESLint plugin that integrates multiple formatters (Prettier, dprint, oxfmt) for formatting various languages directly through ESLint rules. Current stable version is 2.0.1, released with support for ESLint v8 through v10, TypeScript types included. Key differentiators: side-effects-free, flat config native, supports multiple formatters in one plugin, and does not require language detection or external config files. Each file type must be explicitly configured with a formatter and options, giving full control but requiring manual setup.
Verified import paths — ran on the pinned version, not inferred.
The default export is an object with `parserPlain` and rule definitions. Named export `format` is not available; use default import.
parserPlain is a property of the default export, not a named export. Access via the default import object.
v2.0.0 dropped CJS support; only ESM is supported. For CJS projects, pin to v1.x or use dynamic import.
Configures ESLint flat config to format CSS files with Prettier and TOML files with dprint. Each formatter rule must be applied per file type with explicit parser and options.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.