{"id":20293,"library":"prettier-config-guestline","title":"prettier-config-guestline","description":"Shared Prettier configuration used by Guestline Labs. Current version 3.1.4, requires Prettier ^3.0.0 as a peer dependency. Designed for use with Guestline Scripts but can be used standalone. Provides a consistent Prettier setup across Guestline projects. Ships TypeScript types for configuration.","status":"active","version":"3.1.4","language":"javascript","source_language":"en","source_url":"https://github.com/guestlinelabs/prettier-config-guestline","tags":["javascript","typescript"],"install":[{"cmd":"npm install prettier-config-guestline","lang":"bash","label":"npm"},{"cmd":"yarn add prettier-config-guestline","lang":"bash","label":"yarn"},{"cmd":"pnpm add prettier-config-guestline","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency required to use the configuration.","package":"prettier","optional":false}],"imports":[{"note":"The package exports a CommonJS module. Use require() in .prettierrc.js.","wrong":"import config from 'prettier-config-guestline'; // This is CJS, not ESM","symbol":"prettier-config-guestline","correct":"module.exports = require('prettier-config-guestline');"}],"quickstart":{"code":"// .prettierrc.js\nmodule.exports = require('prettier-config-guestline');\n\n// To override options:\n// module.exports = {\n//   ...require('prettier-config-guestline'),\n//   singleQuote: true\n// };","lang":"javascript","description":"Shows how to use the configuration by requiring it in a .prettierrc.js file, with optional overrides."},"warnings":[{"fix":"Ensure you are using Prettier 3.x and update your configuration if needed.","message":"Prettier 3.x breaking changes for parsers and APIs.","severity":"breaking","affected_versions":">=3.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Run 'npm install --save-dev prettier prettier-config-guestline'.","cause":"Package not installed or not in node_modules.","error":"Error: Cannot find module 'prettier-config-guestline'"},{"fix":"Run 'npm install --save-dev prettier@^3.0.0'.","cause":"Prettier is not installed as a peer dependency.","error":"Cannot find module 'prettier'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}