This project is deprecated and no longer maintained!
Please use the official linter: https://github.com/vuejs/eslint-plugin-vue
eslint plugin for vue component files (I mean, .vue
files).
You'll first need to install ESLint:
$ 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.
Add vue
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"vue"
]
}
MIT