feat(typescript): Rule "await-thenable"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-14 00:25:09 +04:00
parent 8618ceaeeb
commit ccd4019140
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 4 additions and 1 deletions

View File

@ -328,7 +328,7 @@
- [ ] "adjacent-overload-signatures"
- [ ] "array-type"
- [ ] "await-thenable"
- [X] "await-thenable"
- [ ] "ban-ts-comment"
- [ ] "ban-ts-ignore"
- [ ] "ban-types"

View File

@ -1,4 +1,7 @@
{
"@typescript-eslint/await-thenable": [
"error"
],
"@typescript-eslint/indent": [
"error",
"tab",