eslint-plugin-no-vue-2

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i eslint-plugin-no-vue-2

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

4.69 kB

Total Files

7

Last publish

Collaborators

  • dotgav