{"library":"ory-prettier-styles","title":"ORY Prettier Styles","description":"Shareable Prettier configuration used across all ORY projects, currently at v1.3.0 (2023). It enforces consistent code formatting via a single config reference or with custom overrides. Compared to creating your own Prettier config from scratch, this package provides a battle-tested set of defaults used by ORY's extensive open-source ecosystem, including specific rules for JSON, Markdown, and YAML. The package also includes a GitHub Action for automated format checking in CI/CD pipelines. Release cadence is ad-hoc; minor versions have introduced breaking changes to formatting defaults (e.g., restoring standard width for Markdown, switching to double quotes).","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install ory-prettier-styles"],"cli":null},"imports":["\"prettier\": \"ory-prettier-styles\"","module.exports = { ...require('ory-prettier-styles'), // overrides }","uses: ory/prettier-styles@v1"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// In package.json:\n{\n  \"prettier\": \"ory-prettier-styles\"\n}\n\n// Or in .prettierrc.js:\nmodule.exports = {\n  ...require('ory-prettier-styles'),\n  // singleQuote: true\n}","lang":"javascript","description":"Sets up Prettier with ORY's styles either via package.json string or with a custom .prettierrc.js.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}