1.0.0 • Published 3 years ago

eslint-plugin-routevalidator v1.0.0

Weekly downloads
85
License
ISC
Repository
-
Last release
3 years ago

eslint-plugin-routeValidator

vue路由规范

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-routeValidator:

$ npm install eslint-plugin-routeValidator --save-dev

Usage

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

{
    "plugins": [
        "routeValidator"
    ]
}

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

{
    "rules": {
        "routeValidator/vue-router": 2
    }
}

Supported Rules

  • Fill in provided rules here
1.0.0

3 years ago