0.0.1-beta.3 • Published 8 months ago

eslint-plugin-no-multiple-refs v0.0.1-beta.3

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

eslint-plugin-no-multiple-refs

An ESLint plugin to prevent multiple refs being defined in a single line in Vue components.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-no-multiple-refs:

npm install eslint-plugin-no-multiple-refs --save-dev

Usage

Add no-multiple-refs to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "no-multiple-refs"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "no-multiple-refs/no-multiple-refs": "error"
    }
}

Supported Rules

  • Fill in provided rules here
0.0.1-beta.3

8 months ago

0.0.1-beta.2

8 months ago

0.0.1-beta.1

8 months ago

0.0.1

8 months ago