{"id":29219765,"url":"https://github.com/protofire/subgraph-prettier-config","last_synced_at":"2025-07-03T02:07:27.551Z","repository":{"id":66220333,"uuid":"272945512","full_name":"protofire/subgraph-prettier-config","owner":"protofire","description":"Shared Prettier configuration to use in subgraph projects","archived":false,"fork":false,"pushed_at":"2020-06-17T22:55:25.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-01T13:09:09.591Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/protofire.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-17T10:31:26.000Z","updated_at":"2021-08-31T15:10:52.000Z","dependencies_parsed_at":"2023-05-21T18:15:26.819Z","dependency_job_id":null,"html_url":"https://github.com/protofire/subgraph-prettier-config","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"0212058dda4f28c873de43ec6c39510a4dbce79a"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/protofire/subgraph-prettier-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Fsubgraph-prettier-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Fsubgraph-prettier-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Fsubgraph-prettier-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Fsubgraph-prettier-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/protofire","download_url":"https://codeload.github.com/protofire/subgraph-prettier-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Fsubgraph-prettier-config/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259392427,"owners_count":22850621,"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","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":[],"created_at":"2025-07-03T02:07:26.724Z","updated_at":"2025-07-03T02:07:27.536Z","avatar_url":"https://github.com/protofire.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Subgraph Prettier Config\n\nOpinionated Prettier configuration used by [subgraphs maintained](https://github.com/protofire?q=subgraph) by [ProtoFire](https://protofire.io/)\n\n## Install\n\n```Shell\n$ yarn add --dev @protofire/subgraph-prettier-config\n```\n\n## Usage\n\nAdd reference to configuration module in the `package.json` file:\n\n```JSON with Comments\n{\n  // ...\n  \"prettier\": \"@protofire/subgraph-prettier-config\"\n}\n```\n\nOr, if you don't want to use `package.json`, use instead any of the [supported extensions](https://prettier.io/docs/en/configuration.html)\nto export a string, e.g. `.prettierrc.json`:\n\n```JSON\n\"@protofire/subgraph-prettier-config\"\n```\n\nTo extend the configuration to overwrite some properties from the shared configuration, import the module in a `prettier.config.js`or `.prettierrc.js` file and export the modifications, e.g:\n\n```JavaScript\nmodule.exports = {\n  ...require('@protofire/subgraph-prettier-config'),\n  semi: false, // override desired properties\n}\n```\n\nThat's it!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotofire%2Fsubgraph-prettier-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprotofire%2Fsubgraph-prettier-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotofire%2Fsubgraph-prettier-config/lists"}