An ESLint plugin that runs Prettier as an ESLint rule, reporting formatting differences as individual lint issues. Version 5.0.2 is the current stable release; the plugin has a steady release cadence. It integrates tightly with eslint-config-prettier to disable conflicting rules. Key differentiators: it allows Prettier formatting to be enforced via ESLint's reporting and auto-fix mechanisms, and supports custom Prettier options via rule configuration.
npm install eslint-plugin-prettier-fxNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configure eslint-plugin-prettier in both legacy .eslintrc and flat config formats, with custom Prettier options.
Use `import plugin from 'eslint-plugin-prettier'` and spread plugin.configs if needed.
Upgrade Node.js to >=14.18 or stay on v4.x.
Migrate to eslint.config.js and use `import` syntax.
Run `npm install --save-dev eslint prettier` alongside this plugin.
Set `trailingComma` explicitly in .prettierrc or rule options to match expected behavior.
Review changes before committing; consider running Prettier separately and only using this plugin for reporting.
Run `npm install --save-dev eslint-plugin-prettier`.
Install eslint-config-prettier: `npm install --save-dev eslint-config-prettier` and use `extends: ['plugin:prettier/recommended']` instead.
Install and configure eslint-plugin-svelte or vue-eslint-parser with the correct parser settings.
Run `npm install --save-dev prettier`.
Convert to ESM and use `import plugin from 'eslint-plugin-prettier'`.
No dependency data recorded yet.