1.1.2 • Published 7 years ago

eslint-plugin-loopback-options v1.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

eslint-plugin-eslint-loopback-options

Checks if options argument is passed to write functions

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-loopback-options:

$ npm install eslint-plugin-loopback-options --save-dev

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

Usage

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

{
    "plugins": [
        "loopback-options"
    ]
}

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

{
    "rules": {
        "loopback-options/rule-name": 2
    }
}
1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.0.0

7 years ago