0.0.2 • Published 4 years ago
eslint-plugin-x-promise v0.0.2
eslint-plugin-x-promise
promise or await not in loop
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-x-promise:
npm install eslint-plugin-x-promise --save-devUsage
Add x-promise to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"x-promise"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"x-promise/promise": 2
}
}Supported Rules
- Fill in provided rules here