{"id":27248,"library":"prettier-config","title":"prettier-config","description":"Read Prettier options from a `.prettieropts` file and pass them to the `prettier` binary. Version 1.0.0. Very minimal package, appears to be experimental or forked from a gist, no regular release cadence. Depends on `prettier` being installed. Simpler than `@prettier/plugin-x` but limited to npm scripts.","status":"abandoned","version":"1.0.0","language":"javascript","source_language":"en","source_url":"https://github.com/sandfox/prettier-config","tags":["javascript","prettier"],"install":[{"cmd":"npm install prettier-config","lang":"bash","label":"npm"},{"cmd":"yarn add prettier-config","lang":"bash","label":"yarn"},{"cmd":"pnpm add prettier-config","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"requires prettier to be installed as a peer dependency","package":"prettier","optional":false}],"imports":[{"note":"Used via CLI in npm scripts, not as a programmatic API. Ensure prettier is installed.","wrong":"prettier-config \"*.js\"","symbol":"prettier-config","correct":"npx prettier-config \"lib/**/*.js\""}],"quickstart":{"code":"{\n  \"scripts\": {\n    \"format\": \"prettier-config \\\"src/**/*.js\\\"\",\n    \"check\": \"prettier-config --list-different \\\"src/**/*.js\\\"\"\n  }\n}","lang":"javascript","description":"Configure npm scripts to use prettier-config to format JavaScript files with options from .prettieropts."},"warnings":[{"fix":"Use via npm scripts or run with npx.","message":"Only works when used inside a script inside package.json due to reliance on npx for prettier binary.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Consider using official prettier with --config option or eslint-config-prettier.","message":"Package is a gist copy, unmaintained since 2019. No releases beyond 1.0.0.","severity":"deprecated","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Install prettier-config locally: npm install --save-dev prettier-config","cause":"Package not installed or npx not available.","error":"prettier-config: command not found"},{"fix":"Install prettier: npm install --save-dev prettier","cause":"Prettier not installed as a dependency.","error":"Cannot find module 'prettier'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}