{"id":19232445,"url":"https://github.com/dprint/dprint-plugin-prettier","last_synced_at":"2026-03-04T09:04:50.287Z","repository":{"id":37465262,"uuid":"273549598","full_name":"dprint/dprint-plugin-prettier","owner":"dprint","description":"Prettier wrapper plugin for dprint.","archived":false,"fork":false,"pushed_at":"2026-02-27T02:10:33.000Z","size":2688,"stargazers_count":109,"open_issues_count":31,"forks_count":12,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-27T09:38:27.698Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dprint.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-06-19T17:21:07.000Z","updated_at":"2026-02-27T02:10:36.000Z","dependencies_parsed_at":"2023-02-10T01:45:40.272Z","dependency_job_id":"638688b5-a63c-461e-96be-edf77e9b9333","html_url":"https://github.com/dprint/dprint-plugin-prettier","commit_stats":null,"previous_names":[],"tags_count":82,"template":false,"template_full_name":null,"purl":"pkg:github/dprint/dprint-plugin-prettier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dprint%2Fdprint-plugin-prettier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dprint%2Fdprint-plugin-prettier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dprint%2Fdprint-plugin-prettier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dprint%2Fdprint-plugin-prettier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dprint","download_url":"https://codeload.github.com/dprint/dprint-plugin-prettier/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dprint%2Fdprint-plugin-prettier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30076935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-09T16:06:24.312Z","updated_at":"2026-03-04T09:04:50.270Z","avatar_url":"https://github.com/dprint.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dprint-plugin-prettier\n\n[![CI](https://github.com/dprint/dprint-plugin-prettier/workflows/CI/badge.svg)](https://github.com/dprint/dprint-plugin-prettier/actions?query=workflow%3ACI)\n\nWrapper around [prettier](https://prettier.io/) in order to use it as a dprint plugin.\n\n## Install\n\n1. Install [dprint](https://dprint.dev/install/)\n2. Follow instructions at https://github.com/dprint/dprint-plugin-prettier/releases/\n\n## Configuration\n\nSee Prettier's configuration [here](https://prettier.io/docs/en/options.html). Specify using the \"API Override\" column.\n\n```jsonc\n{\n  // ...etc...\n  \"prettier\": {\n    \"trailingComma\": \"all\",\n    \"singleQuote\": true,\n    \"proseWrap\": \"always\",\n    // enable prettier-plugin-jsdoc\n    \"plugin.jsDoc\": true\n  }\n}\n```\n\n### File extension specific configuration\n\nAdd the file extension to the start of the configuration option. For example:\n\n```jsonc\n{\n  // ...etc...\n  \"prettier\": {\n    \"singleQuote\": true,\n    // use double quotes in js files\n    \"js.singleQuote\": false,\n    // use double quotes in ts files\n    \"ts.singleQuote\": false\n  }\n}\n```\n\n## Included Prettier Plugins\n\n- [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte)\n  - Enabled by default.\n- [prettier-plugin-jsdoc](https://github.com/hosseinmd/prettier-plugin-jsdoc)\n  - Enable with `\"plugin.jsDoc\": true` configuration\n\nTemporarily removed, but will be added back soon:\n\n- [prettier-plugin-astro](https://github.com/withastro/prettier-plugin-astro)\n\nSee [issue #55](https://github.com/dprint/dprint-plugin-prettier/issues/55) for the new plugin system.\n\n## Why Does This Exist?\n\nThe main reason this exists is to be able to use Prettier with dprint's CLI. That way, you can format with all the plugins that dprint supports, still use Prettier, and only have to run `dprint fmt`.\n\nAdditionally it's much faster. This plugin will format files in parallel and you can take advantage of the speed of dprint's incremental formatting if enabled.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdprint%2Fdprint-plugin-prettier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdprint%2Fdprint-plugin-prettier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdprint%2Fdprint-plugin-prettier/lists"}