Skip to content

Vue PerfectionistConsistent conventions for Vue.

Make Vue 3 code easier to read and maintain with configurable rules for callback styles, macro layout, template ref naming, and statement ordering.

Vue Perfectionist logoVue Perfectionist logo

Start with your next component

Install the plugin and its peer dependencies:

shell
pnpm add -D eslint eslint-plugin-vue-perfectionist vue-eslint-parser
shell
npm i -D eslint eslint-plugin-vue-perfectionist vue-eslint-parser
shell
yarn add -D eslint eslint-plugin-vue-perfectionist vue-eslint-parser

Already have ESLint configured for Vue? Register vuePerfectionist under plugins and enable your chosen vue-perfectionist rules in rules.

Follow the setup guide for a complete configuration, including TypeScript support, or choose your rules and configure their options.