eslint-plugin-try-catch
v1.0.0-beta.11
Published
lint try catch in promise
Maintainers
Readme
eslint-plugin-try-catch
lint try catch in pormise
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-dachuieslintplugintrycatch:
npm install eslint-plugin-dachuieslintplugintrycatch --save-devUsage
Add dachuieslintplugintrycatch to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"dachuieslintplugintrycatch"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"dachuieslintplugintrycatch/rule-name": 2
}
}Supported Rules
- Fill in provided rules here
lint try catch in promise (eslintplugintrycatch)
Please describe the origin of the rule here.
Rule Details
This rule aims to...
Examples of incorrect code for this rule:
// fill me in
Examples of correct code for this rule:
// fill me in
Options
If there are any options, describe them here. Otherwise, delete this section.
When Not To Use It
Give a short description of when it would be appropriate to turn off this rule.
Further Reading
If there are other links that describe the issue this rule addresses, please include them here in a bulleted list.
