0.0.0 • Published 3 years ago
eslint-plugin-try-catch-await v0.0.0
eslint-plugin-don-quixote-xj
Await must be used in try... catch
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-don-quixote-xj:
npm install eslint-plugin-don-quixote-xj --save-devUsage
Add don-quixote-xj to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"don-quixote-xj"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"don-quixote-xj/rule-name": 2
}
}Supported Rules
- Fill in provided rules here
0.0.0
3 years ago