feat(typescript): Rule "require-await"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 23:55:55 +04:00
parent c59ed2364d
commit 1155911243
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 7 additions and 1 deletions

View File

@ -400,7 +400,7 @@
- [ ] "promise-function-async"
- [X] "quotes"
- [ ] "require-array-sort-compare"
- [ ] "require-await"
- [X] "require-await"
- [ ] "restrict-plus-operands"
- [ ] "restrict-template-expressions"
- [ ] "return-await"

View File

@ -54,6 +54,9 @@
"avoidEscape": false
}
],
"@typescript-eslint/require-await": [
"warn"
],
"@typescript-eslint/semi": [
"error",
"always",
@ -75,6 +78,9 @@
"quotes": [
"off"
],
"require-await": [
"off"
],
"semi": [
"off"
]