{"id":27020,"library":"goe-common-prettier","title":"goe-common-prettier","description":"Shared Prettier configuration for all go-e Labs front-end projects. Version 1.0.0, published as an npm package. Designed to enforce consistent code formatting across multiple projects within the organization, reducing bikeshedding on style. Intended for internal use only; no customization or extensibility is provided.","status":"active","version":"1.0.0","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install goe-common-prettier","lang":"bash","label":"npm"},{"cmd":"yarn add goe-common-prettier","lang":"bash","label":"yarn"},{"cmd":"pnpm add goe-common-prettier","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"This package is a shareable config string, not a module to import.","wrong":"Using require('goe-common-prettier') in a .prettierrc.js file","symbol":"goe-common-prettier as config","correct":"Add \"prettier\": \"goe-common-prettier\" to package.json"}],"quickstart":{"code":"// 1. Install\nnpm install --save-dev goe-common-prettier\n\n// 2. In package.json, add:\n{\n  \"prettier\": \"goe-common-prettier\"\n}\n\n// 3. Remove any existing .prettierrc.js, .prettierrc, or prettier config in package.json\n\n// 4. Format all files:\n// npx prettier --write .","lang":"javascript","description":"Installing the shared Prettier config and setting it in package.json to apply consistent formatting."},"warnings":[{"fix":"Ignore the typo; install as devDependency normally.","message":"The package name is 'goe-common-prettier' but the README misspells 'devDependencies' as 'devDependecies'.","severity":"gotcha","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":"Ensure 'prettier' field in package.json is exactly 'goe-common-prettier'.","cause":"Missing or incorrect prettier config path.","error":"Error: Could not find config file for prettier."},{"fix":"Remove any other prettier configuration files.","cause":"Conflicting prettier config exists (e.g., .prettierrc.js).","error":"[prettier] Ignoring unknown option / property"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}