Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Twiknight/eslint-plugin-vue

Eslint plugin for vue components (.vue files)
https://github.com/Twiknight/eslint-plugin-vue

Last synced: about 2 months ago
JSON representation

Eslint plugin for vue components (.vue files)

Awesome Lists containing this project

README

        

# DEPRECATED!

This project is deprecated and no longer maintained!

Please use the official linter: [https://github.com/vuejs/eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue)

# eslint-plugin-vue

eslint plugin for vue component files (I mean, `.vue` files).

## Installation

You'll first need to install [ESLint](http://eslint.org):

```
$ npm i eslint --save-dev
```

Next, install `eslint-plugin-vue`:

```
$ npm install eslint-plugin-vue --save-dev
```

**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-vue` globally.

## Usage

Add `vue` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:

```json
{
"plugins": [
"vue"
]
}
```

## License

MIT