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).
npm install ory-prettier-stylesVerified import paths — ran on the pinned version, not inferred.
Sets up Prettier with ORY's styles either via package.json string or with a custom .prettierrc.js.
If you relied on the previous custom width, add 'printWidth: 80' or set a different value in your overrides.
If you prefer single quotes, override 'singleQuote: true' in your .prettierrc.js.
Consider pinning to a specific version (e.g., @v1.2.0) to avoid unexpected formatting changes.
Use .prettierrc.js or similar to extend and override.
Run 'npm install ory-prettier-styles --save-dev' or 'yarn add ory-prettier-styles -D'.
Use module.exports = { ...require('ory-prettier-styles'), /* overrides */ }.No dependency data recorded yet.