1.0.1 • Published 5 years ago

eslint-plugin-routable v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

eslint-plugin-routable

Internal ESLint plugin for Routable

Installation

You'll first need to install ESLint:

$ npm i -D eslint

Next, install eslint-plugin-routable:

$ npm i -D eslint-plugin-routable

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

Usage

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

{
    "plugins": [
        "routable"
    ]
}

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

{
    "rules": {
        "routable/rule-name": 2
    }
}

Supported Rules

exports-newlines