1.1.2 • Published 8 years ago
eslint-plugin-loopback-options v1.1.2
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-devNext, install eslint-plugin-loopback-options:
$ npm install eslint-plugin-loopback-options --save-devNote: 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
}
}