eslint-plugin-vue-hare

0.0.2 • Public • Published

eslint-plugin-vue-hare

disallow using v-for index as key

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-vue-hare:

npm install eslint-plugin-vue-hare --save-dev

Usage

Add vue-hare to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["vue-hare"]
}

or

{
  "extends": ["plugin:vue-hare/recommended"]
}

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

{
  "rules": {
    "vue-hare/no-v-for-index-as-key": 2
  }
}

Dependents (0)

Package Sidebar

Install

npm i eslint-plugin-vue-hare

Weekly Downloads

0

Version

0.0.2

License

ISC

Unpacked Size

4.91 kB

Total Files

6

Last publish

Collaborators

  • undefined0_0