# eslint-plugin-vue **Repository Path**: xingencloud/eslint-plugin-vue ## Basic Information - **Project Name**: eslint-plugin-vue - **Description**: Official ESLint plugin for Vue.js - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-14 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # eslint-plugin-vue [![NPM version](https://img.shields.io/npm/v/eslint-plugin-vue.svg?style=flat)](https://npmjs.org/package/eslint-plugin-vue) [![NPM downloads](https://img.shields.io/npm/dm/eslint-plugin-vue.svg?style=flat)](https://npmjs.org/package/eslint-plugin-vue) [![CircleCI](https://img.shields.io/circleci/project/github/vuejs/eslint-plugin-vue/master.svg?style=flat)](https://circleci.com/gh/vuejs/eslint-plugin-vue) [![License](https://img.shields.io/github/license/vuejs/eslint-plugin-vue.svg?style=flat)](https://github.com/vuejs/eslint-plugin-vue/blob/master/LICENSE.md) > Official ESLint plugin for Vue.js ## :book: Documentation See [the official website](https://eslint.vuejs.org). > :exclamation: Attention - this is documentation for version `7.x` :exclamation: > > This branch contains `eslint-plugin-vue@next` which is a pre-released `7.0`, but it's not the default version that you get with `npm install eslint-plugin-vue`. In order to install this you need to specify either `"eslint-plugin-vue": "next"` in `package.json` or do `npm install eslint-plugin-vue@next`. > > Please try it and report any issues that you might have encountered. > > If you want to check previous releases [go here](https://github.com/vuejs/eslint-plugin-vue/releases). ## :anchor: Versioning Policy This plugin is following [Semantic Versioning](https://semver.org/) and [ESLint's Semantic Versioning Policy](https://github.com/eslint/eslint#semantic-versioning-policy). ## :newspaper: Changelog This project uses [GitHub Releases](https://github.com/vuejs/eslint-plugin-vue/releases). ## :beers: Contribution Guide Contribution is welcome! See [The ESLint Vue Plugin Developer Guide](https://eslint.vuejs.org/developer-guide/). ### Working with Rules Before you start writing a new rule, please read [the official ESLint guide](https://eslint.org/docs/developer-guide/working-with-rules). Next, in order to get an idea how does the AST of the code that you want to check looks like, use the [astexplorer.net]. The [astexplorer.net] is a great tool to inspect ASTs, also Vue templates are supported. After opening [astexplorer.net], select `Vue` as the syntax and `vue-eslint-parser` as the parser. [astexplorer.net]: https://astexplorer.net/ Since single file components in Vue are not plain JavaScript, the default parser couldn't be used, so a new one was introduced. `vue-eslint-parser` generates enhanced AST with nodes that represent specific parts of the template syntax, as well as what's inside the `