1.0.1 • Published 6 years ago
eslint-plugin-routable v1.0.1
eslint-plugin-routable
Internal ESLint plugin for Routable
Installation
You'll first need to install ESLint:
$ npm i -D eslintNext, install eslint-plugin-routable:
$ npm i -D eslint-plugin-routableNote: 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