eslint-plugin-loopback-options

1.1.2 • Public • Published

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
    }
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.2
    1
    • latest

Version History

Package Sidebar

Install

npm i eslint-plugin-loopback-options

Weekly Downloads

4

Version

1.1.2

License

ISC

Last publish

Collaborators

  • jibinmathews7