{"library":"remark-preset-prettier","title":"remark-preset-prettier","description":"remark-preset-prettier is a unified/remark preset that disables all remark-lint rules which are unnecessary or might conflict with Prettier formatting. Version 2.0.2 is the latest stable release, with a release cadence of patch updates as needed. It ships TypeScript types and requires Node >=14.8. Differentiators: pure ESM via top-level await (since v2), extensive list of disabled plugins (36+), and integration with ESLint or remark-cli. Alternatives require manual configuration to disable each conflicting rule.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install remark-preset-prettier"],"cli":{"name":"remark","version":null}},"imports":["import remarkPresetPrettier from 'remark-preset-prettier'","import type { Preset } from 'remark-preset-prettier'","{\n  \"plugins\": [\n    [\"remark-preset-prettier\", {}]\n  ]\n}","export default {\n  plugins: ['remark-preset-prettier']\n}"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// Ensure you have remark-cli and remark-lint installed\n// npm install -D remark-cli remark-lint remark-preset-prettier prettier\n\n// .remarkrc.mjs (ESM config)\nexport default {\n  plugins: [\n    'remark-preset-prettier',\n    // other remark-lint plugins can be added after\n    'remark-lint-no-dead-urls'\n  ]\n}\n\n// Then run: npx remark --use .remarkrc.mjs README.md\n// Prettier formatting will be enforced; remark-lint rules that conflict are disabled.","lang":"javascript","description":"Shows how to configure remark-preset-prettier in a .remarkrc.mjs file and run it with remark-cli to lint Markdown files with Prettier-friendly rules.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}