eslint-plugin-no-multiple-refs
v0.0.1-beta.3
Published
check multiple refs in single line
Maintainers
Readme
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-devNext, install eslint-plugin-no-multiple-refs:
npm install eslint-plugin-no-multiple-refs --save-devUsage
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
