eslint-plugin-no-bluebird
v0.0.3
Published
Detect the use of bluebird and dependencies on its promise extensions
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-devNext, install eslint-plugin-no-bluebird:
npm install eslint-plugin-no-bluebird --save-devUsage
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 |
