/eslint-plugin-vue

Eslint plugin for vue components (.vue files)

Primary LanguageJavaScriptMIT LicenseMIT

DEPRECATED!

This project is deprecated and no longer maintained!

Please use the official linter: 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:

$ 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:

{
    "plugins": [
        "vue"
    ]
}

License

MIT