{"library":"prettier-plugin-vue","type":"library","category":null,"description":"prettier-plugin-vue is a Prettier plugin designed to enhance the formatting capabilities for Vue Single File Components (SFCs) beyond Prettier's default behavior. Currently at version 1.1.6, this plugin enables developers to precisely control which blocks within an SFC are formatted by Prettier. Its primary differentiator is the `vueExcludeBlocks` option, which allows specific sections (like `<style>` or `<template>`) to be ignored during formatting. This feature is particularly useful for integrating Prettier with other specialized linters such as `eslint` and `stylelint`, preventing formatting conflicts that might arise from multiple tools acting on the same code sections. The plugin autoloads in most setups, streamlining its adoption. While not explicitly stating a release cadence, its presence on npm and active GitHub actions suggest ongoing maintenance, providing a stable solution for Vue formatting challenges. It avoids common issues with IDE-specific formatters by handling exclusions at the Prettier configuration level.","language":"javascript","status":"active","version":"1.1.6","tags":["javascript","prettier","plugin","vue","prettier-plugin"],"install":[{"cmd":"npm install prettier-plugin-vue","imports":["// .prettierrc.js or .prettierrc.cjs\nmodule.exports = {\n  plugins: [\n    require('prettier-plugin-vue')\n  ],\n}","// .prettierrc.mjs or .prettierrc.js (in an ESM context)\nexport default {\n  plugins: [\n    'prettier-plugin-vue'\n  ],\n}","// .prettierrc.js\nmodule.exports = {\n  plugins: [require('prettier-plugin-vue')],\n  vueExcludeBlocks: ['style', 'template']\n}"]},{"cmd":"yarn add prettier-plugin-vue","imports":[]},{"cmd":"pnpm add prettier-plugin-vue","imports":[]}],"homepage":null,"github":"https://github.com/voqse/prettier-plugin-vue","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/prettier-plugin-vue","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/prettier-plugin-vue/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}