{"id":20947201,"url":"https://github.com/voqse/prettier-plugin-vue","last_synced_at":"2025-12-30T02:10:46.555Z","repository":{"id":65184919,"uuid":"585512736","full_name":"voqse/prettier-plugin-vue","owner":"voqse","description":"A Prettier plugin that extends default Vue files formatting with additional options.","archived":false,"fork":false,"pushed_at":"2023-02-12T00:05:33.000Z","size":488,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-21T09:37:08.737Z","etag":null,"topics":["plugin","prettier","prettier-plugin","vue"],"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/voqse.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":"2023-01-05T11:09:34.000Z","updated_at":"2023-01-05T13:16:47.000Z","dependencies_parsed_at":"2024-06-19T19:06:04.798Z","dependency_job_id":"401bcf3f-9f6c-4de5-9673-cf7cc3355d0b","html_url":"https://github.com/voqse/prettier-plugin-vue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voqse%2Fprettier-plugin-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voqse%2Fprettier-plugin-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voqse%2Fprettier-plugin-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voqse%2Fprettier-plugin-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voqse","download_url":"https://codeload.github.com/voqse/prettier-plugin-vue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243345599,"owners_count":20275869,"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":["plugin","prettier","prettier-plugin","vue"],"created_at":"2024-11-19T00:09:54.281Z","updated_at":"2025-12-30T02:10:46.530Z","avatar_url":"https://github.com/voqse.png","language":"JavaScript","readme":"# prettier-plugin-vue\n\n[![test](https://img.shields.io/github/actions/workflow/status/voqse/prettier-plugin-vue/test.yml?branch=master\u0026label=test)](https://github.com/voqse/prettier-plugin-vue/actions/workflows/test.yml)\n[![npm](https://img.shields.io/npm/v/prettier-plugin-vue)](https://www.npmjs.com/package/prettier-plugin-vue)\n\nA lightweight plugin that allows [Prettier](https://prettier.io/) to ignore certain blocks of Vue Single File Components (SFCs) independently of the IDE and its plugins. This can be useful if you want to setup Prettier in combination with other linters such as `eslint` or `stylelint`.\n\n## Installation\nTo get started, just install prettier-plugin-vue as a dev-dependency:\n```shell\nnpm install prettier prettier-plugin-vue --save-dev\n```\n\nThis plugin follows Prettier’s autoloading convention, so as long as you’ve got Prettier set up in your project, it’ll start working automatically as soon as it’s installed.\n\n*Note that plugin autoloading is not supported when using certain package managers, such as pnpm or Yarn PnP. In this case you may need to add the plugin to your Prettier config explicitly:*\n\n```javascript\n// prettier.config.js\nmodule.exports = {\n  plugins: [require('prettier-plugin-vue')],\n}\n```\n\n## Configuration\n### vueExcludeBlocks\nAllows you to specify a list of blocks `strings` to ignore while formatting Vue SFC files.\n\n| Default     | CLI Override                    | API Override                 |\n|-------------|---------------------------------|------------------------------|\n| `['style']` | `--vue-exclude-blocks \u003cstring\u003e` | `vueExcludeBlocks: \u003cstring\u003e` |\n\n*Note that by default this plugin ignores `\u003cstyle\u003e` blocks to avoid interfering with stylelint.*\n\n### Example `.prettierrc`\n```javascript\n{\n  vueExcludeBlocks: [\"style\", \"template\"]\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoqse%2Fprettier-plugin-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoqse%2Fprettier-plugin-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoqse%2Fprettier-plugin-vue/lists"}