eslint-plugin-no-bluebird
v0.0.2
Published
Detect the use of bluebird and dependencies on its promise extensions
Downloads
656
Maintainers
Readme
eslint-plugin-no-bluebird
Detect the use of bluebird and dependencies on its promise extensions
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-no-bluebird
:
npm install eslint-plugin-no-bluebird --save-dev
Usage
Add no-bluebird
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"no-bluebird"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"no-bluebird/rule-name": 2
}
}
Configurations
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
Rules
| Name | Description |
| :--------------------------------------------------- | :-------------------------------------- |
| no-filtered-catch | Prevent filtered catch
function calls |