0.0.1-beta.2 • Published 4 years ago

eslint-plugin-groot-vue v0.0.1-beta.2

Weekly downloads
2
License
ISC
Repository
-
Last release
4 years ago

eslint-plugin-groot-vue

valid vue components in groot and groot-ui

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-groot-vue:

$ npm install eslint-plugin-groot-vue --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-groot-vue globally.

Usage

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

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

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

{
    "rules": {
        "groot-vue/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here