eslint-plugin-watch-vue
wv
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-watch-vue
:
npm install eslint-plugin-watch-vue --save-dev
Usage
Add watch-vue
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"watch-vue"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"watch-vue/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.