{"id":19499468,"url":"https://github.com/stackbit/prettier-config","last_synced_at":"2025-10-15T20:32:46.280Z","repository":{"id":39637643,"uuid":"199853000","full_name":"stackbit/prettier-config","owner":"stackbit","description":"Stackbit's shareable config for Prettier","archived":false,"fork":false,"pushed_at":"2022-05-30T08:36:34.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-27T09:04:00.033Z","etag":null,"topics":["config","linting"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@stackbit/prettier-config","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackbit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-31T12:35:51.000Z","updated_at":"2022-05-30T08:17:57.000Z","dependencies_parsed_at":"2022-09-20T07:01:21.864Z","dependency_job_id":null,"html_url":"https://github.com/stackbit/prettier-config","commit_stats":null,"previous_names":["stackbithq/prettier-config"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/stackbit/prettier-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbit%2Fprettier-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbit%2Fprettier-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbit%2Fprettier-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbit%2Fprettier-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackbit","download_url":"https://codeload.github.com/stackbit/prettier-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbit%2Fprettier-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279111035,"owners_count":26105921,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["config","linting"],"created_at":"2024-11-10T22:04:25.298Z","updated_at":"2025-10-15T20:32:46.264Z","avatar_url":"https://github.com/stackbit.png","language":"JavaScript","readme":"# prettier-config [![NPM version](https://img.shields.io/npm/v/@stackbit/prettier-config.svg)](https://www.npmjs.com/package/@stackbit/prettier-config)\n\nStackbit's [shareable config](https://prettier.io/docs/en/configuration.html#sharing-configurations) for [Prettier](https://prettier.io/)\n\n## Installation\n\nInstall Prettier and `@stackbit/prettier-config`:\n\n```\nnpm install --save-dev prettier @stackbit/prettier-config\n```\n\n## Usage\n\nStackbit's Prettier rules come bundled in `@stackbit/prettier-config`. To enable these rules, add a `prettier` property in your `package.json`. See the [Prettier configuration docs](https://prettier.io/docs/en/configuration.html) for more details.\n\n```json\n\"prettier\": \"@stackbit/prettier-config\"\n```\n\nIf you don't want to use `package.json`, you can use any of the supported extensions to export a string:\n\n```jsonc\n// `.prettierrc.json`\n\"@stackbit/prettier-config\"\n```\n\n```javascript\n// `prettier.config.js` or `.prettierrc.js`\nmodule.exports = '@stackbit/prettier-config';\n```\n\n## Extending\n\nThis configuration is not intended to be changed, but if you have a setup where modification is required, it is possible. Prettier does not offer an \"extends\" mechanism as you might be familiar from tools such as ESLint.\n\nTo extend a configuration you will need to use a `prettier.config.js` or `.prettierrc.js` file that exports an object:\n\n```javascript\nmodule.exports = {\n  ...require('@stackbit/prettier-config'),\n  semi: false\n};\n```\n\n## Changelog\n\nChanges are recorded in [`CHANGELOG.md`](CHANGELOG.md).\n\n## License\n\nDistributed under the MIT License. See [`LICENSE`](LICENSE) for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackbit%2Fprettier-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackbit%2Fprettier-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackbit%2Fprettier-config/lists"}