eslint-plugin-no-vue-2
v1.0.0
Published
Stops your from importing from vue 2
Downloads
6
Maintainers
Readme
eslint-plugin-no-vue-2
Stops your from importing from vue 2
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-no-vue-2
:
npm install eslint-plugin-no-vue-2 --save-dev
Usage
Add no-vue-2
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"no-vue-2"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"no-vue-2/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here