eslint-plugin-vue
Official ESLint plugin for Vue.js
This repository is the official ESLint plugin for Vue.js. ESLint is a widely used tool in JavaScript development that automatically scans code for mistakes, style issues, and patterns that could cause bugs, before you run the code. A plugin extends ESLint with rules specific to a particular framework or file format.
Vue.js uses a custom file format called single file components, where HTML, JavaScript, and CSS for one component live together in a single file. Standard ESLint cannot parse these files on its own, so this plugin works alongside a special parser called vue-eslint-parser that understands Vue's template syntax and makes it available for analysis.
The plugin ships a set of pre-configured rule collections so teams can get started quickly with a recommended baseline rather than configuring every rule individually. Full documentation including all available rules lives at eslint.vuejs.org.
One versioning note worth knowing: the plugin does not follow the same update guarantees as ESLint itself. Minor version updates may add new rules or tighten existing ones, which can cause previously passing code to show new warnings. The README recommends pinning with a tilde in your package.json to avoid surprise changes during routine dependency updates.
The project is open-source under the MIT license and contribution is welcome. The README points developers to the ESLint documentation and an AST Explorer tool if they want to write or understand new rules.