1.0.0 • Published 4 years ago
eslint-plugin-no-vue-2 v1.0.0
eslint-plugin-no-vue-2
Stops your from importing from vue 2
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-no-vue-2:
npm install eslint-plugin-no-vue-2 --save-devUsage
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